Solved

Critical Review of VC++ using MFC and VB

Posted on 1997-07-18
2
225 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now