The error looks to me like you have got the class string wrong and not the
clsid...

Instead of using <CFOBJECT> you could use

        <CFSCRIPT>
                foo = CreateObject("COM", "Word.Application");
        </CFSCRIPT>

What might help you is OLEView.  THis is installed as part of developer
studio, but i think it is also available for download at the microsoft site

HTH

Mike
-----Original Message-----
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 21:48
To: CF-Talk
Subject: OT: Finding the Class ID for a component


I'm futzing around with a COM object and I keep getting this error:

| Error trying to create object specified in the tag.
| COM error 0x800401F3. Invalid class string

Now, I assume this is telling me I'm not giving it the CLSID that it needs.
If that is the case, does anyone know how I can look up the class ID of the
component I am trying to use?  I've looked all over Micorosft's site, but
can't find anything and Allaire's forum keeps timing out.

Also, to make this CF related, does anyone know the syntax to pass the CLSID
when using cfscript to call the object instead of <cfobject>?


Todd Ashworth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to