Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VB  to  VC++

Posted on 2002-05-10
2
Medium Priority
?
277 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
[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 6

Accepted Solution

by:
Triskelion earned 200 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 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…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

650 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