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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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

Reply via email to