ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 2nd, 2005, 10:51 AM
tarawhelan tarawhelan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 2 tarawhelan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 45 sec
Reputation Power: 0
Talking using coldfusion with a com object

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!

Reply With Quote
  #2  
Old November 2nd, 2005, 12:27 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,743 kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 21 h 7 m 14 sec
Reputation Power: 62
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

Reply With Quote
  #3  
Old November 9th, 2005, 05:48 AM
tarawhelan tarawhelan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 2 tarawhelan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 45 sec
Reputation Power: 0
Talking Still not working!

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

Reply With Quote
  #4  
Old November 9th, 2005, 12:25 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,743 kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 21 h 7 m 14 sec
Reputation Power: 62
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > using coldfusion with a com object


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT