Certain WScript methods and properties not accessible in Visual Basic (279164)
The information in this article applies to:
- Microsoft Windows Script Host 1.0
- Microsoft Windows Script Host 2.0
- Microsoft Visual Basic Professional Edition for Windows 4.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q279164 SUMMARY
WScript methods and properties cannot be created in the context of a Visual Basic object because they are part of the Windows Script Host (WSH) object model and must be hosted within a WScript object, which can only run in a WSH script.
REFERENCES
For more information about the SetWaitbleTimer() Win32 API, click the following article number to view the article in the Microsoft Knowledge Base:
231298
How to use SetWaitableTimer with Visual Basic
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
190000
How to get started programming with the Windows API (LONG)
202179 How to call Windows API functions with special requirements from Visual Basic
171654 How to attach a console window to your Visual Basic program
Modification Type: | Major | Last Reviewed: | 5/25/2005 |
---|
Keywords: | kbDSWManage2003Swept kbinfo KB279164 |
---|
|