Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Shell Function

  1. #1
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Shell Function

    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???????

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    I am the luckiest man in the world

  • #3
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •