Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21090

Calling a exe with parametter from vb 6.0 application

$
0
0
Hello,

Greetings.

I would like to call a external exe from vb 6.0 application and invoke the external exe with some input parameters.

For example:
I have a external exe called testAps.exe which is placed in "C:\Program Files\Jeba\testAps.exe"

The testAps.exe will get 2 parameters called "FileNametoCopy" as string and "DestinationPath" as string value.

This testAps.exe is working correctly on command Line.

I would like to call the exe(testAps.exe) along with parameter values(FileNametoCopy and DestinationPath) from my vb 6.0 application.

How to do this?

Could any one guide me to complete my requirement. Sample code is more helpful.

Awaiting for your valuable response.

Thanks,

Jeba

Viewing all articles
Browse latest Browse all 21090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>