If memory serves me correct the last time I used the CFObject tag all it does is create an instance of the object and assigns a reference to a variable.  So <cfobject action="" type="COM" class="some.object" name="objref"> will create the object and return the reference.


To set a property just <cfset objref.parm = "some value"> and to read a value you <cfset parmvalue = objref.parm>.  To call a method you can <cfset result = objref.method()>


______________________________________________________
  <file:///E:/EUColor.gif>
Bill Grover
Manager, Information Systems Phone: 301.424.3300 x3324
EU Services, Inc. FAX: 301.424.3696
649 North Horners Lane E-Mail:   <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
Rockville, MD 20850-1299 WWW:   <http://www.euservices.com/> http://www.euservices.com
______________________________________________________

-----Original Message-----
From: Sam komolafe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 6:48 PM
To: CF-Talk
Subject: How do I access COM Object properties in CF

Hi,  

How do I access COM Object properties using CFObject tag?

Thank
Sam
---
[This E-mail scanned for viruses.]
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to