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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -