ProgID
The Programmatic Identifier (known as ProgID) is the string you pass to CreateObject() or NewObject() to create a COM object. This property tells you what string to use for a particular COM object you're creating. The property is read-only. Usage | cMyServername = oServer.ProgID |
Example | * Ted's project for testing SYS(2335) was called SYS2335 * His test class was a program named Fred.PRG ? oProject.Servers[1].ProgID && "SYS2335.fred" oDear = CREATEOBJECT("SYS2335.Fred") && creates the object |
See Also | CreateObject(), NewObject(), Project, Server, ServerProject |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.