use sleep in vbscript for customized Outlook form

  • Thread starter Thread starter shubhangi
  • Start date Start date
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
 
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.
 
Back
Top