M
mike
XP Pro SP2
I have a program written in VB6.
The program seems to do what I programmed it to do.
Problem is that after I run the exectuable, I can no longer
delete the executable file. VB6 won't let me recompile the program
because it can't delete the old executable. Rebooting the system
makes the file deletable until the next time I run it. The error
message is, "remove write protection." I remember seeing an error
message to the effect, "someone else is accesing the file," but
I can't reproduce that error message. Yes, I checked the properties page
it's NOT read-only.
The interesting thing is that I can take a different executable, rename
it to the same name as the naughty program and successfully copy the
new program over the naughty one. The new program executes just like it
should. But it isn't deletable either.
I've poked around in process explorer. I can see my program come
and go. I found no obvious stuff left running in its wake. All I
have to do is load the form and exit the program to cause this symptom.
I'm not running much of my program at all.
This problem does NOT happen if I execute it on a Win2K SP4 system.
I have a laptop with XP HOME SP2. The problem does NOT happen there either.
I tried the VB newsgroups, but they sent me here.
Suggestions?
Thanks, mike
I have a program written in VB6.
The program seems to do what I programmed it to do.
Problem is that after I run the exectuable, I can no longer
delete the executable file. VB6 won't let me recompile the program
because it can't delete the old executable. Rebooting the system
makes the file deletable until the next time I run it. The error
message is, "remove write protection." I remember seeing an error
message to the effect, "someone else is accesing the file," but
I can't reproduce that error message. Yes, I checked the properties page
it's NOT read-only.
The interesting thing is that I can take a different executable, rename
it to the same name as the naughty program and successfully copy the
new program over the naughty one. The new program executes just like it
should. But it isn't deletable either.
I've poked around in process explorer. I can see my program come
and go. I found no obvious stuff left running in its wake. All I
have to do is load the form and exit the program to cause this symptom.
I'm not running much of my program at all.
This problem does NOT happen if I execute it on a Win2K SP4 system.
I have a laptop with XP HOME SP2. The problem does NOT happen there either.
I tried the VB newsgroups, but they sent me here.
Suggestions?
Thanks, mike