M
Mr. Analogy
Hi,
I'm trying to get my VBscript in Publisher 2003 to PAUSE.
there doesn't seem to be an application.wait method.
Where might I declare the SLEEP API call below? (I get an error when
pasting it in the module or form of my project.
Public Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds
As Long)
'Then somewhere in your code:
Sleep 1000 ' =1 second (1000 milliseconds)
I'm trying to get my VBscript in Publisher 2003 to PAUSE.
there doesn't seem to be an application.wait method.
Where might I declare the SLEEP API call below? (I get an error when
pasting it in the module or form of my project.
Public Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds
As Long)
'Then somewhere in your code:
Sleep 1000 ' =1 second (1000 milliseconds)