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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run a Visual Basic exe from vbscript?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Ok, here's my problem. I created a web page that contains vbscript to create an output text file to the web server.

I also have a Visual Basic .exe program that takes in this file on the web server for additional processing.

My question is, Can I run the Visual Basic component from within the vbscript on the web page? If so, how do I do it? Any info you all have would be greatly appreciated.

Thanks.
 
If that vb EXE file is an ActiveX component you can do that by usin create Object method.

Else you have to create another Active X DLL which will call the Shell function to run the EXE and then call that onject from your script throuh CreateObject Method.

Try it
Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top