Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Deleted Files Still (Mysteriously) Accessible by Program

Reply
Thread Tools Display Modes

Deleted Files Still (Mysteriously) Accessible by Program

 
 
cnewport
Guest
Posts: n/a

 
      11-30-2007

I've noticed some odd behavior with Vista recently that I was hoping to
gain some insight into.

We've been running an old VB6 program on Vista. The program accesses a
simple binary .ini file to load and save user settings. We've notice
that even if we delete this file, the program still seems to have no
trouble loading it, reading it, and writing to it.

Is there some weird file caching going on here?

Thank you in advance for any insight...


--
cnewport
 
Reply With Quote
 
 
 
 
Andy C.(never #)
Guest
Posts: n/a

 
      11-30-2007
On Nov 30, 2:57 pm, cnewport <cnewport.30v...@no-mx.forums.net> wrote:
> I've noticed some odd behavior with Vista recently that I was hoping to
> gain some insight into.
>
> We've been running an old VB6 program on Vista. The program accesses a
> simple binary .ini file to load and save user settings. We've notice
> that even if we delete this file, the program still seems to have no
> trouble loading it, reading it, and writing to it.
>
> Is there some weird file caching going on here?
>
> Thank you in advance for any insight...
>
> --
> cnewport


That really isn't odd, at all. I've written tons of programs that
check for the existence of a file and if it doesn't exist, I create
it. You're just doing CYA as a programmer. But why are you deleting
that file in the first place?

Later,

Andy C.(never #)
 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      11-30-2007
"cnewport" <> wrote...
> We've been running an old VB6 program on Vista. The program accesses a
> simple binary .ini file to load and save user settings. We've notice
> that even if we delete this file, the program still seems to have no
> trouble loading it, reading it, and writing to it.


Is the INI file in a protected location, such as under the "C:\Program
Files" directory?

If so, you are probably seeing a side-effect of Vista's file and registry
virtualisation. See:

Common file and registry virtualization issues in Windows Vista
http://support.microsoft.com/default.aspx/kb/927387

The file may still exist in %userprofile%\AppData\Local\VirtualStore.

Hope it helps,

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
cnewport
Guest
Posts: n/a

 
      12-03-2007

Andrew,

Thank you for your help. Virtualization certainly seems a likely
culprit, as the program is running under "C:\ProgramFiles." I will
consult the support doc you referenced and see if I cannot gain
additional insight.

Best,
Calvin


--
cnewport
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to delete Names of files after deleted files. paul Windows Vista Mail 2 04-22-2008 03:17 AM
Files not accessible after Easy Transfer Geoff Windows Vista Installation 2 01-26-2008 11:34 AM
How can I recover an accidentally deleted program Shaz Windows Vista Installation 2 12-08-2007 12:52 PM
accidently deleted program JJ Windows Vista Hardware 1 05-06-2007 10:49 PM
Spyware .exe program won't save or run into Program Files folder Little Lil Windows Vista General Discussion 3 03-20-2007 10:14 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59