|
-
Oct 1st, 2002, 06:48 AM
#1
Thread Starter
Hyperactive Member
vb to c ??
hi is there a converterthat will convert a visual basic program into a c program ?
-
Oct 1st, 2002, 07:28 AM
#2
If you had bothered to search the forum you'd know the answer already.
There is no complete one, but someone here is working on one, don't know how far or good.
Usually it isn't worth it, translating VB code 1:1 to C code will end up in a bad program.
Oh, and you can't convert VB forms and events, I hope you are aware of that.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 1st, 2002, 07:32 AM
#3
transcendental analytic
Oh, and you can't convert VB forms and events, I hope you are aware of that.
I don't see how that would be impossible.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 1st, 2002, 09:10 AM
#4
Not impossible, but quite tricky. The converter would need to create dialog templates from the VB form code, write a message loop, a WndProc, ActiveX container code...
It is possible (has to be), but I can't imagine anyone would bother to write such a program.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 1st, 2002, 11:32 AM
#5
Hyperactive Member
One easy solution: learn VC++ and add 1 skill to your bag of tricks.
But seriously, I don't see any point in converting a working VB program to another language. Just leave it as it is. Go on to do your next project.
-
Oct 3rd, 2002, 12:48 AM
#6
Fanatic Member
If you need speed or whatever, just completely re-write the program in c++. (btw, vc++ is a compiler ) There are way more than one way to get an outcome.
-
Nov 22nd, 2002, 01:16 AM
#7
Fanatic Member
similar question:
is there a program that can convert a vb .frm file into the code required to create the window (and child windows, not including ActiveX controls) using RegisterClass and CreateWindow in c++? i'm not lookng to convert the events or anything; i just want to draw the form in vb and code everything in c++.
-
Nov 22nd, 2002, 08:35 AM
#8
Not that I know of, but there might be one. After all this can't be too hard to write.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 22nd, 2002, 08:40 AM
#9
Monday Morning Lunatic
You can always use VC++'s Dialogue editor...
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 22nd, 2002, 05:29 PM
#10
Member
-
Nov 25th, 2002, 11:15 PM
#11
Fanatic Member
they sure want a lot of mony for it...
-
Nov 26th, 2002, 12:33 AM
#12
Frenzied Member
that thing dont even work dont bother buying it lol
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|