|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi guys,
Im new to coldfusion and im currently researching it. Im in the middel of my college project and need to know how to use coldfusion with a com object. Would anyone be able to send me a simple working code as an example. Cheers! |
|
#2
|
|||
|
|||
|
Both CFOBJECT and the createObject() function will let you create instances of COM objects that you can then interact with. You can see an example at http://livedocs.macromedia.com/cold...302.htm#2820239
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
hi thanks for your reply,
Ive tried this and im getting an error message saying it can't find the file name. I think this is the problem "class = Allaire.DocEx1.1". Is there anything else you can suggest. As i said im very new to coldfusion and using the com object is really throwing me off! Hopefully i'll hear form you soon anyway ![]() |
|
#4
|
|||
|
|||
|
The class attribute takes the component ProgID for the object to invoke. You have to register COM objects with Windows before you can use them. I'm not familiar with this process but you can try to Google it. Though honestly if you are trying to use a COM object in CF, and you don't know how to use CF or register a COM object, I'd say you're jumping in over your head and it might make sense to back up and get a handle on these things before going forward.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > using coldfusion with a com object |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|