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
Post a Comment