• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

Critical Review of VC++ using MFC and VB

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
jonesy071897
Asked:
jonesy071897
1 Solution
 
fasterCommented:
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
 
jonesy071897Author Commented:
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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now