Solved

VB  to  VC++

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

733 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