-
Jul 28th, 2013, 05:54 AM
#1
Thread Starter
New Member
C++ versus VB.net for writing COM application
What are the pros and cons of using C++ versus VB.net for writing COM application? When I googled around, it seems C++ is a better choice. Little mention of using VB.net. Is it because C++ is significantly faster?
-
Jul 28th, 2013, 07:24 AM
#2
Re: C++ versus VB.net for writing COM application
C++ is incredibly faster.
What are you looking to develop??
-
Jul 28th, 2013, 07:27 AM
#3
Thread Starter
New Member
Re: C++ versus VB.net for writing COM application
Originally Posted by szlamany
C++ is incredibly faster.
What are you looking to develop??
I am only a newbie. I have to start with something easier. Is VB.net easier to develop?
-
Jul 28th, 2013, 08:24 AM
#4
Re: C++ versus VB.net for writing COM application
.Net is a library of functions that makes many aspects of programming very easy.
C is a different syntax then BASIC - if you do not know either language you should make a choice based on what you think your future will be. C-syntax is much like JavaScript - so if you are going to work with browser app's at some point, then learning the C-syntax makes sense.
C++ is a low-level programming language intended to be used when a high-level language doesn't fit the requirements. In C++ you are in charge of managing your memory usage.
C# is a high-level programming language like VB. C# and VB can both call the .Net library. Both of these languages manage memory for you.
So your question really is - do I want to program in a low-level language or a high-level language.
Low-level languages are intended to be used for very specific situations. For instance, I've developed a library of my own C++ functions for text searching - and I call those from VB.Net.
What type of COM application are you looking to develop????
-
Jul 28th, 2013, 08:33 AM
#5
Thread Starter
New Member
Re: C++ versus VB.net for writing COM application
I want to retrieve data from a database and place it in Excel. There should be convenient Excel formulas to retrieve the data and populate the cells.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|