How to run a VB program in VC++
-
Hi, I have a VB program and I would like to run it in VC++, is that possible? Ehsan Behboudi
If your VB program is a com dll/exe, then using it in VC++ is no different than using a com object written with VC++. If it is a regular exe, then you can use the CreateProcess function (see MSDN for details).[
My articles and software tools
-
If your VB program is a com dll/exe, then using it in VC++ is no different than using a com object written with VC++. If it is a regular exe, then you can use the CreateProcess function (see MSDN for details).[
My articles and software tools
yes, the VB objects are all COM objects. I have a whole bunch of functions in VB,, which I would like to use in VC++. They are all COM objects. How can I use the functions, or include the .bas in my VC++ so I could just call the functions in VC++. Ehsan Behboudi
-
yes, the VB objects are all COM objects. I have a whole bunch of functions in VB,, which I would like to use in VC++. They are all COM objects. How can I use the functions, or include the .bas in my VC++ so I could just call the functions in VC++. Ehsan Behboudi
mr2003 wrote: How can I use the functions, or include the .bas in my VC++ so I could just call the functions in VC++. You can't use the .BAS functions. If you look up #import on MSDN, you should be able to call your VB COM objects from C++ easily. Michael 'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879