This worked in cf 5.  when I updated to cfmx this failed.  I've applied
updater 2.

-----Original Message-----
From: Joshua Miller [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 22, 2003 10:02 AM
To: CF-Talk
Subject: RE: what the hell

Could there be something wrong with your Excel installation? We had
similar problems with connecting to Access and it turned out the Access
installation was corrupt. We reinstalled Access and it worked fine.
Perhaps it's the same issue here with Excel.

The code looks ok at first glance.

Do you have the Update packs for CFMX? There were problems pre-updater
with CFMX and COM objects.

Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-9044 ext. 254
 
************************************************************************
*************
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]
************************************************************************
*************


-----Original Message-----
From: Steve Dworman [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 22, 2003 9:55 AM
To: CF-Talk
Subject: what the hell


I've read document after document regarding COM objects in CFMX, and
tried every suggestion those documents provide.  Still I receive the
following error
 
An exception occurred while instantiating a COM object
java.lang.NoSuchMethodException
 
This occurs when I try to create an object using the Excel.Application
class.
 
Here is the relevant code
 
<cftry>
            <cfobject type="com"
                        action="connect"
                        class="Excel.application"
                        name="MyExcelobj"
                        context="local"> 
<cfcatch type="any">
<!--- There is no existing object, create one --->
                        <cfobject type="com"
                                    action="Create"
                                    class="Excel.application"
                                    name=" MyExcelobj"
                                    context="local"> 
            </cfcatch>
</cftry>
 
 
Help please
 
Steven D Dworman
Macromedia Certified Developer
---------------------------------------------------------
Web Consultant
Systems Administrator

ComSpec International - http://www.comspecinternational.com
<http://www.comspecinternational.com> 
phone: 248.647.8841
cell:  248.767.9925
---------------------------------------------------------
EMPOWER-XL ***Software for Higher Education*** http://www.empower-xl.com
<http://www.empower-xl.com>  
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to