?
Solved

Critical Review of VC++ using MFC and VB

Posted on 1997-07-18
2
Medium Priority
?
285 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
faster earned 300 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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

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