Hello.
I'm trying to do a program that delete some files and registry entries, Is
there any way to delete the files that "are in use".
Thanks in advance.
Philip Daniels - 28 Aug 2006 13:02 GMT
>Hello.
>
>I'm trying to do a program that delete some files and registry entries, Is
>there any way to delete the files that "are in use".
>
>Thanks in advance.
You place a "RunOnce" entry in the registry and reboot the computer.
Google or MSDN has all the info you need.
--
Philip Daniels
Ignacio Machin ( .NET/ C# MVP ) - 28 Aug 2006 14:00 GMT
Hi,
You have to close the associated application. Or do a reboot and place the
program in the RunOnce entry in the registry :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

Signature
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
> Hello.
>
> I'm trying to do a program that delete some files and registry entries, Is
> there any way to delete the files that "are in use".
>
> Thanks in advance.