Accessing an ActiveX Object’s Methods and Properties from Basic

If you add a control, you can access its events and properties through the property sheet just like any other object.

For example, suppose you add a Microsoft Web Browser control and set its (Object Name) property to WebBrowser. Because it is an ActiveX object, a new section of properties is visible, called ActiveX. That section contains a user-accessible list of variables and properties with their default values.

Microsoft Web Browser Control Active X Properties

To set properties for the ActiveX control inside the VBS Mini-Editor for an event handler

  1. Type the name of the ActiveX control. For example, if you used the example above, you would type WebBrowser.

  2. Then type a period after it. A window appears so that you can access the variables and methods.

  1. Select the X from the list. PC-DMIS opens another popup window that lists a set of internal editable variables for the ActiveX control.

In this ways you can access an Active X object's methods, properties, and events.

For information on the properties of the different PC-DMIS ActiveX controls, see "Using PC-DMIS ActiveX Controls".