msdn:This method places an application in a suspended state until an event occurs.app.WaitForEvents Parameters app Reference to the App object. Return Value None.Res This method is useful only when used in a code module. The WaitForEvents method stops execution of a code module until an event occurs. After the event executes, the code module continues waiting for more events unless the event calls the EndWaitForEvents method. Supported Platforms This method is supported on the following platforms. H/PC Pro Edition 3.0 P/PC Edition 1.2 Pocket PC
Parameters
app
Reference to the App object.
Return Value
None.Res
This method is useful only when used in a code module. The WaitForEvents method stops execution of a code module until an event occurs. After the event executes, the code module continues waiting for more events unless the event calls the EndWaitForEvents method. Supported Platforms
This method is supported on the following platforms. H/PC Pro Edition 3.0
P/PC Edition 1.2
Pocket PC