Skip to Main Content
Insider Power Techniques for Microsoft® Windows® XP
book

Insider Power Techniques for Microsoft® Windows® XP

by Paul McFedries, Geoff Winslow, Scott Andersen, Austin Wilson
February 2003
Intermediate to advanced content levelIntermediate to advanced
412 pages
10h 6m
English
Microsoft Press
Content preview from Insider Power Techniques for Microsoft® Windows® XP

Displaying More Detailed Information to the User

You saw earlier that the WScript object’s Echo method is useful for displaying simple text messages to the user. You can gain more control over the displayed message by using the WshShell object’s Popup method. WshShell refers to the Shell object that is exposed via the Automation interface of WScript. So before you can run the Popup method, you need to use CreateObject to create an instance of the WshShell object:

Set objWshShell = WScript.CreateObject("WScript.Shell")

If you’re familiar with Microsoft Visual Basic, the Popup method is similar to the MsgBox function in that it enables you to control both the dialog box title and the buttons that are displayed, as well as to determine which of those ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Fixing Windows XP Annoyances

Fixing Windows XP Annoyances

David A. Karp

Publisher Resources

ISBN: 0735618968Catalog PageErrata