Thanks...i appreciate it. -----Original Message----- From: Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:48 AM To: CF-Talk Subject: RE: what the hell
Is the COM object registered in OLE Viewer? Is this the correct reference? I had to make a few code updates when I moved from CF5 to MX when connecting to PPT. (Lots of trial and error) When I get back home, I'll check to see what the actual differences were. Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -----Original Message----- From: Steve Dworman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:31 AM To: CF-Talk Subject: RE: what the hell What I mean is that I ran it without the space. I've rebooted the machine, restarted services, reinstalled the updater. Nothing, nada, zero, zip, zilch. -----Original Message----- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:17 PM To: CF-Talk Subject: RE: what the hell I run this code without the space and it does work. Try refreshing your services and/or check your installation of Office. ============================================ 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 10:06 AM To: CF-Talk Subject: RE: what the hell nope -----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

