USING A STANDARD INTERFACE WITH THE COMMON DIALOG ACTIVEX CONTROL

One of the ActiveX controls included in the MOD is the Common Dialog control. With this control, you can create the standard dialogs used for various Windows system tasks, including the following:

  • Opening a file

  • Saving a file under a new name

  • Choosing a color

  • Choosing a font

  • Printing a file

  • Running Winhelp.exe

Before Access 95, to access the Common Dialog you had to use Windows API calls. Not anymore. ActiveX controls allow you to access the same functionality without the hassle of setting up for the API call.

Note

To use the Common Dialog control, you must have the Microsoft Office Developer Edition, Visual Basic 5 or 6, or Visual InterDev, Enterprise Edition. This control isn't available ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.