Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't Free up a com object
Message
From
18/04/2000 05:27:55
 
 
To
14/04/2000 05:47:55
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00359705
Message ID:
00360765
Views:
12
Hi Ed,

How are things at Hussmann ? You probably don't remember me, but I did some work there for IRW Associates.

>I have created a VFP com object. This object is accessed from an ASP page running on Personal Web Server. Once it has been accessed, I go into VFP, make chages to the class, and try to save it as a Multithreaded COM object again. When I do this I get an error saying that file access is denied.
>
>Obviously the COM object has not been released. I have tried to close IE, close VFP and stop my Personal Web Server. The only thing that will free it up, is if I shut down my computer. Surely I must be doing something wrong.

When your ASP page creates the com object, does it destroy it when it's finished with it ?

e.g.

Set oTest = CreateObject("myfilename.mycomobect")
' do whatever calls to the object you want here
Set oTest = Nothing

I'm playing around with this technology at the moment, so this may not be of much help.

Best.

Matt.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform