how to call exe file in vb6 with multiple parameters -


i tried below code

dim pthname string dim parms string dim rpno integer dim glngbr long dim prtvw string pthname = "d:\sample.exe" rpno = 1 prtvw = "v" glngbr = 84003 shell pthname & parms 

i getting error "run time error 53 ".

i tried without parameter working

shell pthname 

you can use this,

shell "d:\sample.exe" & " " & param_1, param_2 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -