VBScript - Sleep

  • 17 years ago

    this isn't exactly web design, but since there's no forum for VBScript i'm trying here.


    i'm using wscript and i can't use the Sleep function - an error accurs - not such function

    Code:
    Dim WScript
    Dim Time


    Set WScript = CreateObject("WScript.Shell")


    WScript.Sleep 1000


    Set WScript = Nothing


    this code doesn't work. can some one please tell me how to do this. thanks

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook