|
Re: Folders being deleted Is your program writing its database to a subfolder of C:\Program Files? If
so:
Go to C:\Program Files, and click on Compatibility Files in the Toolbar of
Windows Explorer. This will take you to
C:\Users\YourName\AppData\Local\VirtualStore\Program Files (normally, a
hidden path). This is where Vista puts the files of programs that write
certain types of user files to the C:\Program Files subdirectories. When
you're in C:\Program Files\YourProgram (or possibly a subfolder of that
path), you should also see a button in the taskbar of Windows Explorer
called "Compatibility Files", which will take you directly to your program's
database files.
In your program's Options dialog, can you change the default location (path)
of the database to a path that is under your account name?
For example, it could be C:\Users\(Your Name)\Documents\ProgramName Data
(you may have to create the folder there first). Then Vista won't redirect
your files. After the initial program installation, it moves user files
being written to the C:\Program Files subdirectories, since the
Program Files folder is on a security level equal to the Windows folder
itself, making TrustedInstaller the owner.
"news.microsoft.com" <support@beaverlog.com> wrote in message
news:eOEz6ws2HHA.1208@TK2MSFTNGP05.phx.gbl...
> When working on getting a database driven software to run on Vista, have
> seen more than once that an entire folder, with data in the folder, being
> deleted. Have searched for very specific files and then an advanced
> search for the file with ZERO Results.
>
> Does anyone have any thoughts regarding this type of issue happening?
>
> Thanks
> |