Re: QBASIC Program via wscript.shell giving error
- From: "christophe" <irs.znospamforme@xxxxxxxxx>
- Date: Mon, 11 Sep 2006 13:08:29 +0200
euh,
It wasn't probably very clear in my previous answer but
Run works just fine.
Although I'm willing to retry the Shell.
It looks more fancy ....
regards
christophe
"S Bans" <SBans@xxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:5FE22941-6392-4A66-AE7C-43FF58CCE272@xxxxxxxxxxxxxxxx
Christophe,of
Let's hope some senior member provides guidance which solves it for both
us.errors:
Regards
S Bans
"christophe" wrote:
S Bans,
I'm also running a Dos exe (GWBasic)
I also couldn't get it running with the Shell.run.
I just do : Run yourexe yourpar1 yourpar2
regards
christophe
"S Bans" <SBans@xxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:F9DB162D-D013-4E7C-8899-210EFBF0FFB8@xxxxxxxxxxxxxxxx
Hello Seniors,Window
I have been running some DOS programs via wscript.shell like:
QQwState = 7 &&7&& Run the Dos Command in an Inactive and Minimised
QQwait = 1 && 0 = NoWait, 1 = Wait
lo_Shell = createobject("wscript.shell")
lc_runRAS = 'rasdial "Con_name" "user" "pw"'
lo_Shell.Run(lc_runRAS,QQwState,QQwait)
However the attempt to run a QBASIC program as follows is giving
toWindow
QQwState = 7 &&7&& Run the Dos Command in an Inactive and Minimised
QQwait = 1 && 0 = NoWait, 1 = Wait
lo_Shell = createobject("wscript.shell")
lc_runQBASIC = 'QBASIC/run C:\TEST\PROGRAM1.BAS'
lo_Shell.run(lc_runQBASIC,QQwState,QQwait)
I understnad I could be getting errors because of the multiple calls
RUN,
however I do not know how to solve this problem.
I am looking forward to your guidance for solving this problem.
Regards
S Bans
.
- Follow-Ups:
- Re: QBASIC Program via wscript.shell giving error
- From: S Bans
- Re: QBASIC Program via wscript.shell giving error
- References:
- Re: QBASIC Program via wscript.shell giving error
- From: christophe
- Re: QBASIC Program via wscript.shell giving error
- Prev by Date: Re: VFP 9.0 IDE
- Next by Date: Re: VFP - refresh method timing.
- Previous by thread: Re: QBASIC Program via wscript.shell giving error
- Next by thread: Re: QBASIC Program via wscript.shell giving error
- Index(es):