Solved

VB  to  VC++

Posted on 2002-05-10
2
269 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

705 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

16 Experts available now in Live!

Get 1:1 Help Now