Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compile Multiple Objects Using A VB Application.

Status
Not open for further replies.

bakerm

Programmer
Apr 25, 2000
53
US
I need to find out how to compile mutiple objects such as exe's and dll's from a VB app with out using a dos window.
The program will search a db to determine by version what needs to be compiled and continue on to compile each object.

I know this can be done because I have seen it, but do not know how.

Any help in this area would be GREATLY appreciated.

Thanks, Mark [sig][/sig]
 
DO you not want to display the DOS window, or not use a DOS/NTVDM process at all?

If you just don't want the DOS window to appear, you could try Shelling the compile process out of the VB app, such as:

Shell &quot;C:\Program files\Vb98\C2.exe <parameters>&quot;, vbHide

This will run the compiler, but will hide the window.

There might also be a &quot;run silent&quot; option for the compiler. I know that a lot of installation routines have a silent option that will not display any windows asking the user for install directory and so on, so the application will be installed solely from a script or using certain defaults. The VB compiler may have something like this.

Hope this helps.

Steve [sig][/sig]
 
Thanks for the info Steve. I will give it a try.

Mark [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top