I am currently working in Outlook 2003 code behind the forms. This is vbscript based. When I try to run the following snippet of code behind the form I get the following:
Microsoft VBScript runtime error: Object required: 'windows'
dtmStartTime = Now
idTimer = windows.setTimeout("PausedSection", 5000, "VBScript")
Msgbox dtmStartTime & vbCrLf & Now
Keep in mind that I am trying to run this in an outlook form. I want to know how to create an object for the setTimout method above. I would even be willing to except an object creation for Wscript.Sleep, but I had no luck with that either as the objects are not readily exposed under outlooks code behind the form. I hope that I have explained enough.