If you run your website from a 'virtual directory' on the webserver then all you have to do is go to the properties for that virtual directory and hit the 'unload' button on the 'directory' tab. That'll release your VFP COM DLL so you can build a new version of the DLL. I thought I had read somewhere you could run a batch file with commands to do this automatically but it may have been just a dream. Anyway, it doesn't involve shutting down the entire web server.
- A Hilton
>Hi:
>
>I have just starting using VFP COM DLL's within an ASP. Example:
>
>{VB Script within an ASP}
>DIM oMyObject
>SET oMyObject = Server.CREATEOBJECT("MyDLL.SomeOLEClass")
>
>Now whenever I try to generate a new DLL within VFP I get a File Access Denied. Does anybody know how to kill the DLL in memory--otherwise I need to re-boot for each compile?
>
>Thanks!
>
>--Paul
A Hilton
Software & Technology Development,
Programming & Business Process Consulting