Solved

VB  to  VC++

Posted on 2002-05-10
3
421 Views
Last Modified: 2010-05-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
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 50 total points
Comment Utility
The closest thing I have seen (that is free):

"FILE: B2CSE.exe Converts Visual Basic Automation Code to Visual C++ (Q216388)"
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q216388
0
 
LVL 22

Expert Comment

by:rspahitz
Comment Utility
I suspect that if you have a program that converted from VB to VC, it would actually be much bigger!

This issue supposedly goes away in .net since the underlying structure is the same, only the tool is different.
0
 
LVL 4

Expert Comment

by:Monchanger
Comment Utility
If your application is large, you might want to do a manual want (need) to go over the code generated by the converter, fixing in important places to make stabilize and optimize it.

AzraSound - from the title, that tool doesn't do GUI... (innovator - do you have a graphical interface needing conversion ?)

If it's a small application - one or two dialogs, I'd try a utility like that, and if it runs - it runs.

Some of your code might not be that easy to convert (VB comes with a lot of native functions you'd need to search the net a bit for in C, especially all the string manipulation strings)

About file size - C applications, when written properly should theoretically be smaller. But even if not so, VB applications need a runtime (which is many times bigger than small exe's) - in case you're going to distribute your program to people without VS.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

772 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

10 Experts available now in Live!

Get 1:1 Help Now