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

Need Help for executing VB program from another VB program

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want execute a VB exe from another VB program. Shell command is good. But it gives problem when i refer curdir command in my first exe. My first exe is working properly when i execute it without using another vb program. Do any body have a solutio for this.

Thanks
 
Depending on the purpose... you might want to look into creating a DLL and perform an API call but whatever. Otherwise, to correct the directory problem, maybe try passing in quotes (") around it? Spaces used to muck things up once upon a time...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top