Solved

VB  to  VC++

Posted on 2002-05-10
2
271 Views
Last Modified: 2010-04-02
Hi...

Just quick question....

**If i have a source code for application written in VB..
can it easily be coverted into VC++ ?

Or there is no such a thing?  it will reqiure
programming from the scratch?

Or it depends on what the code does?
(if this is the case, i will provide the
application's details)

**I Think that the produced .exe file is much
smaller if the applicaton was written in
VC++ .. is that ture?


Thanks
0
Comment
Question by:innovator
2 Comments
 
LVL 6

Accepted Solution

by:
Triskelion earned 50 total points
ID: 7002175
No, it cannot be easily converted.
You would be better off converting it by hand or making some of the VB app into ActiveX so you can reuse it in the VC app.
There may be 3rd party products that will convert some of the code for you.

Yes, generically, VC++ EXEs will be smaller and you can fix it so it is not DLL dependant.
0
 

Expert Comment

by:TheFriend
ID: 7002913
Are you kidin?

VB is basic, that's for kids to play (and make Anti Microsoft viruses). For C++ you gotta get serious.

You start doing it from scratch, but forms and dialogs are not so easy in Visual C++. Don't let the name 'Visual' trick you. There is NOTHING visual in VC++.
Coding requires a lot of C, C++ and WINAPI knowledge.

You can use Borland C++ Builder 5/6. Its IDE very similar to VB and easy to use with forms and dialogs. You can assign all the events right there on the property box of a say a button , listview or a webservice object. It will generate functions and classes with proper C++ syntax, so that you can compile your app error free and learn how the syntax is used in C++.

VB application's exe part may be smaller than an equivalent app. in C++, but the VB interpreter or runtime library is not. That exe part of your VB app and the runtime library is just like java.class + JRE, or javascript+Internet Explorer.


0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

815 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

12 Experts available now in Live!

Get 1:1 Help Now