Chapter 9 Accessing objects using VBScript


Add references to object type libraries

You must add references to the PowerDesigner type libraries you want to use, for example Sybase PdCommon, Sybase PdOOM, Sybase PdPDM, etc. for programs like VB, VBA, VB .NET and C#.

Steps To add references to object type libraries in a VBA editor:

  1. Select Tools→References.

Steps To add references to object type libraries in a Visual Basic editor:

  1. Select Project→References.

Steps To add references to object type libraries in a C# and VB.NET editor:

  1. Right-click the project in the project explorer.
  2. Select Add References from the contextual menu.

Example of a References window for a VBA program in Word


 


Copyright (C) 2005. Sybase Inc. All rights reserved.