Solved

VB  to  VC++

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

Independent Software Vendors: 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…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

726 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