use sleep in vbscript for customized Outlook form

S

shubhangi

hi
I need to use sleep() in vbscript for customized outlook form code.I've
Outlook 2003 on WinXp.It seems that with Wscript version 5.6 Wscript.Sleep
doesn't work.Is there any other way to accomplish this?(Instead of getting
current time,adding sleep period to that & looping)
Thanks
 
K

Ken Slovak - [MVP - Outlook]

Where do you see a Sleep() method in scripting? Sleep() is a Win32 API call
as far as I know and you can't use Win32 API calls from VBScript code. A
loop or use of a 3rd party timer control that you test to make sure it's
compatible with a custom form are your options with VBScript which is what
you have to use with custom form code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top