...

View Full Version : Shell Function



loveperson
01-05-2005, 08:37 AM
Hello,
I facing the problem in this coding.

Dim dblRetVal As Double
dblRetVal = Shell("CountdownTime.exe", vbNormalFocus)
'Function when countdown timer completed
tmpkey = True

This code will call the EXE file for the countdown timer, when the dountdown timer EXE File is completed then the code of tmpkey = true will start running. But when I use the above code it will run at the same time, but I dun want.

Anybody can help in the coding???????

Roelf
01-05-2005, 10:41 AM
See this thread (http://www.codingforums.com/showthread.php?t=40351&highlight=shell+wait)

loveperson
01-06-2005, 02:58 AM
Thanks ur information. I can sucess running the shell but I want to add another function inside. Which is when the exe file running, the user are allow to press some key like "Esc" key to exit the shell function. Do you have any idea?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum