Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 253797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:47:35+00:00 2026-05-11T21:47:35+00:00

I intend to write a small application to scratch a personal itch and probably

  • 0

I intend to write a small application to scratch a personal itch and probably make the life of some colleagues easier. Here is what I have:

  • 10+ years of experience in C
  • Plenty of experience in programming against the Win16/32 API in C from the Win3.1 to 2000 days.
  • C library written by myself already doing about 75% of what the application shall do.

What the application shall do:

  • open a binary, feed it into the mentioned library.
  • take the resulting text output and feed it into a new Excel Workbook.
  • apply some formating.
  • integrate nicely with the Windows environment (availability in “Open With…”, remember some stuff using the registry etc.)
  • (maybe later) before giving the CSV data to Excel, parse it by looking up the meaning of some values in an XML file.

Except for the XML parsing part I have done all of that stuff before including COM / Office Automation in C/Win32. There is a lot of boilerplate code involved, but it is doable and the result will be a pretty small application without the need for an installer.

So why even think about C# / .Net?

  • no experience with parsing XML
  • the promise of less boilerplate code for the Windows and Excel stuff (yes, I have done C++ with OWL, MFC, ATL etc. but I am not going there anymore – not for free/fun)
  • Since I have also experience with C++, VB(not .Net) and a little Java / Objective-C I suppose learning C# will all be about the .Net libraries and not actually about the language.

My considerations so far:

  • Learning .NET might be fun and might result in less code / first steps in a more modern environment.
  • Sticking with what I know will lead to a predictable outcome in terms of effort and function (except for the optional XML stuff)
  • VB looked great at the beginning until the projects where about 80% done, then the pain started and the DLL coding in C. I am concerned history could repeat itself if I choose .Net.

My primary objective is the functionality. Effort is a concern. The XML parsing is optional.

Please advice.

Update: one thing I forgot to mention explicitly is that I am also worried about easy deployment of the tool to my co-workers. With Win32 I am pretty sure I can come up with an EXE file < 1Mb that can be easily emailed and does not require installation. With .Net not so much. Can I create the necessary MSI or whatever in Visual Studio Express (free) or do I need 3rd party tools?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:47:36+00:00Added an answer on May 11, 2026 at 9:47 pm

    as others have your question mostly covered, I’d just like to quickly comment on your considerations:

    • Learning .NET might be fun and might result in less code / first steps in a more modern environment.

    Totally agreed. It is definitely fun and usually it does result in less code. The investment you make now will certainly benefit you in future projects. It is way faster to program in .Net than in C. Not only it is easier, but it is also safer. You are isolated from many programming errors common in C mostly related to memory mismanagement. You also get a very complete managed API to do stuff you would usually need to build your own framework.

    • Sticking with what I know will lead to a predictable outcome in terms of effort and function (except for the optional XML stuff)

    Hence your indecision. 🙂

    • VB looked great at the beginning until the projects where about 80% done, then the pain started and the DLL coding in C. I am concerned history could repeat itself if I choose .Net. My primary objective is the functionality. Effort is a concern. The XML parsing is optional.

    .Net is an entirely different beast from VB. Most of the things you wouldn’t be able to do in VB, or at least do them easily, are supported by .Net. For instance, Windows Services are a snap to build in .Net. Socket programming is also supported, but there are very few reasons to do it yourself, as you’ve got loads of communication APIs with .Net. You’ve got web-services, .Net Remoting, MSMQ management, and more recently WCF. Proper multithreading is supported by .Net, unlike the idiotic apartment model in VB. In case you really need to go low level, you can also actually use pointers in C#, inside of unsafe code blocks, even though I would never advise to do so.

    If you really need to do things in C, then integrating is also relatively easy. You can create COM objects and use interop to work with them from .Net. You can also interact directly with plain ol’ dlls using DllImport. Using http://www.pinvoke.net makes it easier.

    When I developed in VB, sometimes I also had to go back to C++ to do stuff that I wasn’t able of doing in VB. Since I began programming in .Net, the only extremely rare scenarios I would need to go back to C++ were when I needed to use legacy COM components that used types I was having a hard time to marshal via interop. I wouldn’t worry about history repeating itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 264k
  • Answers 264k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer This is easier if you used 0-based indexing. These rules… May 13, 2026 at 12:17 pm
  • Editorial Team
    Editorial Team added an answer You should do it like this: unsigned short NImage::get_pixel(int i,… May 13, 2026 at 12:17 pm
  • Editorial Team
    Editorial Team added an answer You could call one of the rendering tools at MathMLCentral.… May 13, 2026 at 12:17 pm

Related Questions

I just wrote one of my first web applications (Linux, Apache, MySQL, Django), and
I decided to write a small parser to parse BBCode and return properly formatted
I have a group of objects which I am creating a class for that
For learning purpose i intend to start building a 8051 microcontroller emulator. I am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.