Solved

Critical Review of VC++ using MFC and VB

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…

777 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