Check to see if the objects already been created.  You may have to use
action="CONNECT" if the object's been created already:

<cftry>
        <cfobject type="COM" action="CONNECT" class=...
                <cfcatch type="any">
                        <cfobject type="COM" action="CREATE" class=...
                </cfcatch>
</cftry>

-----Original Message-----
From: Ken Monroe [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 02, 2001 1:13 PM
To: CF-Talk
Subject: Address COM Object


Hello!

Has anyone used the Address Object from Melissa Data Corp. with CF?  I'm
having problems ("Invalid Class String") when I try to use the <CFOBJECT>
tag.  I use CFOBJECT as: <cfobject type="COM" action="CREATE"
class="AddressObject.ZipCodeData}"
name="myObj">

I can see the object and all its methods in OLEViewer and I've run regsvr32
on the .dll.  I've also used OLEView to Create An Instance of the object
first, all with no luck.  ??

Thx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to