Click to See Complete Forum and Search --> : Creating an Application


benjnp
September 29th, 2005, 05:30 PM
I'm a bit new in visual programming, I'd like to know what are the advantages of Visual Basic over Visual C++ and vice versa. As of now, I noticed that Visual Basic has better GUI handling than Visual C++ but Visual C++ is better when it comes to functionalities.

If I'll be using the VB GUI(forms) and VC++ functions in one application, will it be alright? How? Shall I call the VB forms in a VC++ program or call VC++ functions and classes in a VB forms?
Thanx in advance, I'd really like to know about these stuffs :)

boudino
September 30th, 2005, 03:53 AM
Why do you desire for VB? It is very strange and weak language (my opinion, no flamewar please). Because I expect you are thinking about vb.net, I would recommend you to use C#. It allows you more and has syntax similar to C++ or Java.

To second part of your question: it is question of architecture and it is hard to answer it without knowing the problem you are solving. But generaly, it seems that you need UI to some execution. I think that in this situation it is better to have UI (C# or VB forms) calling VC++ functions). And I suggest you to consider if you couldn't make the whole program in C# (or VB if it is your favourite). If you don't need special computation or don't need to programm low-level (like IO rutines) parts, VC++ doesn't offer you many advantages over .net languages.