Solved

Critical Review of VC++ using MFC and VB

Posted on 1997-07-18
2
270 Views
Last Modified: 2013-12-04
I am interested a critical review detailing the advantages and disadvantages of Visual C++ using MFC and Visual Basic. That would hopefully include specifying the type of applications for which each product is best suited, considering the differences in their fundamental development strategy (i.e. MFC uses Document, View, and Frame classes
which are related to each other, and VB uses the concept of Forms and Controls).

Thank you for your help.

Sincerely,


Mark Jones
0
Comment
Question by:jonesy071897
2 Comments
 
LVL 7

Accepted Solution

by:
faster earned 100 total points
ID: 1401284
I can only give my opinion, you know there is not a "correct" answer to this.

First, if you are dealing something low level, use c/c++.  There are something that vb simply can't do, and there are more that although it maybe possible to use vb, it will be too difficult, for example, hooks, server etc.

Secondly, if efficiency is important to you, use c/c++.  C code is not only small but also faster (generally speaking).

However, if your application has a lot of user interface, then VB will be better, c/c++ will never be a best choice for UI.  However, lots of application need some low level stuff while most of it is still dealing with UI, then you can consider get or write yourself a dll/activex control for the low level and your vb can make use of it for low level while cooncentrating on UI.

There is also some other considerations: if you are an experienced programmer, it probably depends on what kind of language you are most experienced.  If you always use c, then probably you will stick to c, because learning vb will take time.  However, if you are used to high level language, you will not like c.  If you are new to programming, I suggest use vb, it is easier to get you on the way.


0
 

Author Comment

by:jonesy071897
ID: 1401285
Thank you for your fast response, faster.  It is, to date, the best response to this question that I have heard.  I understand that C++ allows low level access to Windows API, system functions, etc.  And that, if needed, a C++ DLL accessable to a VB application when low level functionality is needed is a good solution.  What I still don't understand is why anyone would choose, of sound mind and free will, to write an application in C++ using MFC, when VB is so easy to learn, easy to use, and fast to develop.  We (2 of us) are about to undertake a development project, and are both moderately experienced C++ programmers.  My partner, however has had an opportunity, to use VB and is convinced that it's the only way to go.  I am being swayed in that direction too, but I am still concerned about any limitations that VB may have, especially surrounding the development design philosophy of both products mentioned in my original question.  Thank you for your help.

Mark Jones

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question