Finding The Component Progid And Methods - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

Chapter 19: Using CFOBJECT to Invoke Component Objects
329
deployed with their own setup programs that register objects automatically, while
others may require manual registration.
Inproc object servers (*.dll, *.ocx) can be registered manually by using the
"regsvr32.exe" utility using the following form:
regsvr32 c:\path\servername.dll
Local servers (*.exe) are typically registered either by simply starting them or
specifying a command line parameters like:
C:\pathname\servername.exe -register

Finding the component ProgID and methods

Your COM object should provide documentation explaining each of the component's
methods and the ProgID. With this information, you're ready to work with the
CFOBJECT tag. If you don't have documentation, use the Object Viewer to view the
component's interface.
Using the OLE/COM Object Viewer
The OLE/COM Object Viewer installation installs the executable by default as
. You use the Object Viewer to retrieve a COM object's
\mstools\bin\oleview.exe
Program ID as well as its methods and properties.
Once you've installed a COM object, make sure you register it using the
regsvr32.exe
utility. Otherwise you won't find the object in the Object Viewer. The Object Viewer
retrieves all COM objects and controls from the Registry and presents the information
in a simple format, sorted into groups for easy viewing.
By selecting the category and then the component, you can see the Program ID of the
COM object you want to use. The Object Viewer also gives you access to options for the
operation of the object.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 4.5

Table of Contents