Index   Commented   Search   About

Accessing OLE Automation Objects

To access exposed objects, you can create OLE Automation controllers using Microsoft Visual Basic™, Microsoft Visual C++™, Microsoft Excel, Microsoft Project, and other applications and programming languages that support OLE. This chapter discusses several strategies for accessing exposed objects:

  • Creating scripts with Microsoft Visual Basic

  • Creating your own controllers that manipulate objects

  • Creating type information browsers

Regardless of the strategy you choose, your OLE Automation controller needs to follow these steps:

To initialize and create the object

  1. Initialize OLE.

  2. Create an instance of the exposed object.

To manipulate methods and properties

  1. Get information about the object's methods and properties.

  2. Invoke the methods and properties.

To release OLE when your application or programming tool terminates

  1. Revoke the active object.

  2. Unitialize OLE.

    Related Links

    Software for Delphi and C++ Builder developers
    Software for Visual Studio .NET developers
    Software for Visual Basic 6 developers
    Delphi Tips&Tricks
    MegaDetailed.NET
    TMS Scripter Studio Pro components for Delphi/C++Builder

    More Online Helps

    Win32 Programmer's Reference (win32.hlp)
    Win32 Multimedia Programmer's Reference (mmedia.hlp)
    Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
    Microsoft Windows Sockets 2 Reference (sock2.hlp)
    Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
    Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun