Tech Community Live: Windows edition
Jun 05 2024, 07:30 AM - 11:30 AM (PDT)
Microsoft Tech Community
SOLVED

Explorer Can't Find Existing .mdb File That Datamgr.exe (VB) Can Find

Copper Contributor

I've created .mdb files by executing Visual Basic programs.  I can use the Datamgr program that comes with VB 3.0 to open these databases to view and update the records.  Explorer does not show these files, nor does Dir command in CMD prompt.  I have Show Hidden Files earmarked in Explorer.  I have cleaned the iconcache by running Disk Cleanup.  Several other things have been tried based on web research.  Nothing seems to work.  Clues anyone?  I'd upload a copy of an .mdb, but lol, I can't do this because it can't be found!

1 Reply
best response confirmed by Bill_Kotchish (Copper Contributor)
Solution
I found the problem. Instead of searching for my .mdb in the folder Datamgr finds it (C:\), I searched on ThisPC. It found them in c:\users\art\appdata\local\virtualstore - yes, an alternate folder. To stop this re-routing, I changed Local Policies to Disable the "UAC: Virtualize files & registry write failures to per-user location". Geez.

I can maybe understand trying to protect Program Files or Windows in the C: drive, but to stop writing to the root directory or other folders seems unnecessary.
1 best response

Accepted Solutions
best response confirmed by Bill_Kotchish (Copper Contributor)
Solution
I found the problem. Instead of searching for my .mdb in the folder Datamgr finds it (C:\), I searched on ThisPC. It found them in c:\users\art\appdata\local\virtualstore - yes, an alternate folder. To stop this re-routing, I changed Local Policies to Disable the "UAC: Virtualize files & registry write failures to per-user location". Geez.

I can maybe understand trying to protect Program Files or Windows in the C: drive, but to stop writing to the root directory or other folders seems unnecessary.

View solution in original post