Create a Custom Application Using Microsoft Visual Basic

Microsoft Visual Basic is one of many applications that you can use to develop custom OLE applications for use with the OPC Client.

 To start designing a Visual Basic application that accesses the OPC Client objects:

  1. Start Visual Basic and from the Projects menu, choose References. The GE OPC Client 7.10 Library should display in the Available References list box. If it does not, browse your directories for .TLB files and add OPCDRV.TLB to the Available References list box.
  2. From the View menu, choose Object Browser and then from the Libraries/Projects list at the top of the browser, select OPCDRV.
  3. Select a property or method and press F1 to learn how to use it.

The type library, OPCDRV.TLB, is installed in the same path that you installed the OPC Client.

NOTE: To use Visual Basic for Applications (VBA) instead of the VB Compiler, select References from the Tools menu in step 1 and follow steps 2 and 3 above.