On the function calls?  If so, that does not appear to make any difference either.

---------- Original Message ----------------------------------
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Thu, 03 Apr 2003 13:13:43 -0700

>Try getting rid of the ()'s.
>
>----- Original Message -----
>From: Jeff Chastain <[EMAIL PROTECTED]>
>Date: Thursday, April 3, 2003 12:00 pm
>Subject: Re: CF and COM object
>
>> I had seen an example somewhere that specifically left the quotes 
>> off of the class.  Don't know why, but I have added them and the 
>> same error still occurs.
>> 
>> -- Jeff
>> 
>> ---------- Original Message ----------------------------------
>> From: Marlon Moyer <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> Date:  Thu, 03 Apr 2003 12:56:20 -0600
>> 
>> >Are there quotes around the class in your code?  There should be 
>> if not.
>> >
>> >Jeff Chastain wrote:
>> >
>> >>I have an ASP COM object that I plan on rewriting as ColdFusion, 
>> but at this point I don't have time.  Therefore, I am trying to 
>> use it with CF in the meantime.
>> >>
>> >>The example ASP code for this object that I am working on 
>> duplicating is as follows:
>> >>
>> >>dim oSettings
>> >>set oSettings = Server.CreateObject("GSServices.Settings")
>> >>
>> >>dim dGadgetSettings, dCommunityGadgetSettings
>> >>set dGadgetSettings = oSettings.GetGadgetSettings
>> >>set dCommunityGadgetSettings = oSettings.GetCommunityGadgetSettings
>> >>
>> >>My CF code is as follows:
>> >>
>> >><cfobject action="create" type="com" class=GSServices.Settings 
>> name="oSettings">>>
>> >><cfset dGadgetSettings = oSettings.GetGadgetSettings()>
>> >><cfset dCommunityGadgetSettings = 
>> oSettings.GetCommunityGadgetSettings()>>>
>> >>The object declaration appears to be working, but I am getting 
>> the following CF error message on the second line:
>> >>
>> >>An exception occurred when executing a Com method.  
>> >>
>> >>The cause of this exception was that: AutomationException: 
>> 0x800a005b - Object variable or With block variable not set in 
>> 'GSServices'. 
>> >>
>> >>Since I have not used this combination of functionality before, 
>> I am not sure what this error message is referring to.  Any ideas 
>> or suggestions?
>> >>
>> >>Thanks
>> >>-- Jeff
>> >>
>> >> 
>> >>             
>> >>
>> >
>> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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