Page 1 of 1

RunProgram command

Posted: Wed Jun 25, 2003 1:16 am
by Large
If I use the code below in a case it launches IE twice, doe's anyone know why ?

Code: Select all

RunProgram("C:\Program Files\Internet Explorer\iexplore.exe")
I only want Internet Explorer to open once ! Not twice ! have I missed off any parameters.

Please help ! :roll:

Kind regards

Large

Re: RunProgram command

Posted: Wed Jun 25, 2003 2:14 am
by PB
It only opens 1 x IE for me. I'd say there's a bug in your code elsewhere that
is calling that command twice for some unknown reason. Happy bug-hunting!

Posted: Wed Jun 25, 2003 8:47 am
by Large
Well I cured the problem, there was no bugs as such !

I added this after the runprogram command :

Code: Select all

delay (1000)
and that seemed to cure it, odd one that ! :?

Kind regards

Large

Posted: Thu Jun 26, 2003 3:31 am
by TheBeck
Sounds to me like a bug in your event handling routine. Try holding down the mouse button for more than a second. Does it still launch IE twice? Then again I could be way off...