Yeah, I missed that, I bet that's the problem.

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: Bryan F. Hogan [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 22, 2003 10:00 PM
To: CF-Talk
Subject: RE: what the hell


Check the space in the following code's name attribute value

<cfobject type="com"
        action="Create"
      class="Excel.application"
      name=" MyExcelobj"
      context="local">

============================================
Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
============================================

-----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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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

Reply via email to