|
User Interaction with Common Dialogs in WSH |
Discription:
As you progress into more detailed and more powerful code, you will find yourself focusing more and more on how your scripts appear to your users. Using common Windows dialog boxes will give your script a familiar, comfortable feel while appearing more like a fully functional application.
You've all seen the classic File Open and File Save dialog boxes in Windows. These standard dialogs are provided by the Common Dialogs Control that ships with Windows. Updates are made available via subsequent releases of the Visual Basic runtime environment and some Microsoft applications.
The Common Dialogs control is housed in the comctl32.dll library in your System32 directory. It is a registered component and is therefore made available to any application in the Windows environment.
As with any object, you can connect to the Common Dialogs control and use any of its available methods. In a standard programming language, such as Visual Basic or C++, this is a fairly simple task. However, it's not quite so simple in WSH.
|
| Plateform(s): Window | Update: 5/17/2007 | Vistor Rating: 4 | Rating: 3 |
|
|
|
|