1. deleting file that is in use
------=_NextPart_000_0008_01C0318A.95E90C60
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
This is a little offtopic;
how do i delete file that is in use by unknown program?
when i try to delete it in win95, msgbox says access denied.
if i restart windows then i can delete it.
i have dll from which i call functions from ASP page (with =
Server.CreateObject). So everytime i recompile dll compiler can't =
overwrite old dll (because it's in use by another program).
If i kill personal web server and all programs on windows the file still =
wouldn't delete.
It's very dumb and important problem, cause i would have to restart =
windows every time i wanted to recompile.
Help!?
------=_NextPart_000_0008_01C0318A.95E90C60
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>This is a little =
offtopic;</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>how do i delete file that is in use =
by unknown=20
program?</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>when i try to delete it in =
win95, msgbox=20
says access denied.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>if i restart windows then i can =
delete=20
it.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana size=3D2>i have dll from which i call=20
functions from ASP page (with Server.CreateObject). So everytime i=20
recompile dll compiler can't overwrite old dll (because it's =
in use by=20
another program).</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>If i kill personal web server =
and all=20
programs on windows the file still wouldn't delete.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>It's very dumb and important problem, =
cause i=20
would have to restart windows every time i wanted to =
recompile.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>Help!?</FONT></DIV>
------=_NextPart_000_0008_01C0318A.95E90C60--
2. Re: deleting file that is in use
On Sun, 08 Oct 2000, <tone.skoda at SIOL.NET> wrote:
>>
>> This is a little offtopic;
>> how do i delete file that is in use by unknown program?
>> when i try to delete it in win95, msgbox says access denied.
>> if i restart windows then i can delete it.
>>
>> i have dll from which i call functions from ASP page (with
>> Server.CreateObject). So everytime i recompile dll compiler can't overwrite old
>> dll (because it's in use by another program).
>> If i kill personal web server and all programs on windows the file still
>> wouldn't delete.
>> It's very dumb and important problem, cause i would have to restart windows
>> every time i wanted to recompile.
>> Help!?
>>
Ah.... the wonders of Windoze....
--
evil, corruption and bad taste
^cense
3. Re: deleting file that is in use
- Posted by Bernie <xotron at PCOM.NET>
Oct 08, 2000
-
Last edited Oct 09, 2000
On Mon, 9 Oct 2000 00:48:05 +0200, =?iso-8859-2?B?qWtvZGE=?=
<tone.skoda at SIOL.NET> wrote:
>This is a little offtopic;
>how do i delete file that is in use by unknown program?
>when i try to delete it in win95, msgbox says access denied.
>if i restart windows then i can delete it.
>
>i have dll from which i call functions from ASP page (with
Server.CreateObject). So everytime i recompile dll compiler can't overwrite
Have you tried unloading the DLL before you delete it
Bernie
4. Re: deleting file that is in use
> Have you tried unloading the DLL before you delete it
>
> Bernie
>
i don't really know how to unload dll in asp. there's no such function to do
this.