ODE97: Using the ActiveX Controls Samples in the ActCtrls DB

Last reviewed: October 13, 1997
Article ID: Q165213
The information in this article applies to:
  • Microsoft Office Developer Edition 97

SUMMARY

Moderate: Requires basic macro, coding, and interoperability skills.

The Microsoft Office 97 Developer Edition Tools ActiveX Controls database, Actctrls.mdb, which is included on the Microsoft Office 97 Developer Edition Tools compact disc, contains samples of some of the ActiveX controls included in the Microsoft Access 97 and the Microsoft Office 97 Professional Edition Tools package. The database can be found in the following folder:

   MSDS\ODESMPL\ODE\OLECONT subfolder

To open the database in Microsoft Access 97, start Microsoft Access 97, and then open the sample database ActCtrls.mdb. Double-clicking the file to open the database will produce an error.

NOTE: The sample database, Actctrls.mdb, is also available on the Microsoft Web site at http://www.microsoft.com/AccessDev/a-free.htm

MORE INFORMATION

WARNING: The software in the sample database is provided for demonstration purposes only. You may make and use copies of the Software provided that (i) the Software is not distributed for profit; (ii) all copyright notices are maintained on the Software; (iii) you may not reverse engineer, decompile, or disassemble the Software, except and only to the extent the foregoing restriction is expressly prohibited by applicable law, notwithstanding this limitation; and (iv) you may not distribute copies of the Software to third parties. The samples in the database are provided as is.

Contents of the Sample Database ActCtrls.mdb

  • Calendar Control

    Use a Calendar Control to select dates - This form demonstrates how you can use a Calendar control to set dates used as criteria in the record source for a form.

  • CommonDialog Control

    Sample the methods of the CommonDialog control - This form uses a TabStrip control that contains controls that invoke the methods of the CommonDialog control. It also shows how you can use properties of the control to specify how a Help dialog box is displayed.

    File/Open and File/Save using the Rich TextBox control - This form uses the Rich TextBox control together with a Toolbar control, ImageList control, and CommonDialog control to create a form that lets you view and edit .rtf and .txt files.

  • ImageList Control

    Supply images to a TreeView control - This form synchronizes a TreeView control with a ListView. It also uses a ProgressBar to show the user the progress on filling the ListView control. A StatusBar is used to show the ProgressBar and other information.

    Supply images to a ListView control - This form displays a rolodex of customers and uses the ListView control in both List and Report view. It also shows how you can use Column Headers to sort the list.

    Supply images to a Toolbar control - This form uses the Rich TextBox control together with a Toolbar control, ImageList control, and CommonDialog control to create a form that lets you view and edit .rtf and .txt files.

  • ListView Control

    ListView working with a TreeView control - This form synchronizes a TreeView control with a ListView. It also uses a ProgressBar to show the user the progress on filling the ListView control. A Statusbar is used on the form to show the ProgressBar and other information.

    Display customer information with associated images - This form displays a rolodex of customers and uses the ListView control in both List and Report view. It also shows how you can use Column Headers to sort the list.

  • Progressbar Control

    Create a reusable progress meter - This form demonstrates the use of a Progressbar control and an UpDown control to create a custom progress meter.

    Display the progress of a record retrieval operation - This form synchronizes a TreeView control with a ListView. It also uses a ProgressBar to show the user the progress on filling the ListView control.

  • RichTextBox Control

    Create a reusable Notepad object - This form uses the Rich TextBox control together with a Toolbar control, ImageList control, and CommonDialog control to create a form that lets you view and edit rtf and .txt files.

  • Slider Control

    Control animation settings - This form uses a Slider control to set properties that affect the animation sequence of an Image control.

    Navigate a set of records - This form shows you how to use a TabStrip control with several forms shown in one subform. It also shows a way to use a Slider control to navigate information.

  • Statusbar Control

    Display information on the current record - This form synchronizes a TreeView control with a ListView. It also uses a ProgressBar to show the user the progress on filling the ListView control.

    Display information about the current document - This form uses the Rich TextBox control together with a Toolbar control, ImageList control, and CommonDialog control to create a form that lets you view and edit rtf and .txt files.

  • TabStrip Control

    Use a TabStrip control to organize access to records - This form shows how you can use a TabStrip with several forms shown in one subform. It also shows a way to use a Slider control to navigate information.

    Use a TabStrip control to display multiple examples - This form uses a TabStrip control that contains controls that invoke the methods of the CommonDialog control. It also shows how you can use properties of the control to specify how a help dialog box is displayed.

  • Toolbar Control

    Toolbar control as an application switchboard - This form shows you how to use a Toolbar control as an application switchboard.

    Create a Toolbar to manipulate object properties - This form uses the Rich TextBox control together with a Toolbar control, ImageList control, and CommonDialog control to create a form that lets you view and edit rtf and .txt files.

  • TreeView Control

    Use the TreeView control to select database objects - This form acts as the sample application main switchboard. It uses a TreeView control to display the example forms contained in the database.

    A TreeView control working with a ListView control - This form synchronizes a TreeView control with a ListView. It also uses a ProgressBar to show the user the progress on filling the ListView control. A StatusBar is used to show the ProgressBar and other information.

  • UpDown Control

    Set values in a text box control - This form demonstrates the use of a ProgressBar control and an UpDown control to create a custom progress meter.

REFERENCES

For more information about the sample database Actctrls.mdb, please see the following article in the Microsoft Knowledge Base:

   Article ID: Q165437
   Title     : MS Access 97 ActiveX Controls Sample Database Available on
               MSL

For more information about using ActiveX controls, search the Help Index for "ActiveX controls, using," or ask the Microsoft Access 97 Office Assistant.
Keywords          : IntpCstm kbusage
Version           : 97
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbinfo


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.