virtualstore

How do you change file permissions to stop Vista from writing to a file in the VirtualStore directory?

When my program first installs it places a file in the user’s AppData directory, and the program then will periodically write to that file. The problem is in Vista the writes are not made to the file in the user’s AppData directory, they are made to a copy of that file in the “VirtualStore/ProgramData” directory. The original file in t...

VirtualStore not working on Vista x64

I have a little tray application that want's to write to it's own folder under the Program Files directory. I know not an ultimate design and I will fix it, but first I want to understand how this work. Running this on a 32-bit Vista machine it writes the files to the VirtualStore and it works just like it should. But when installing...

VirtualStore not working on Vista x64

I have a little tray application that want's to write to it's own folder under the Program Files directory. I know not an ultimate design and I will fix it, but first I want to understand how this work. Running this on a 32-bit Vista machine it writes the files to the VirtualStore and it works just like it should. But when installing...

C# - Vista - Decompression being virtualized when using CommonApplicationData

Assume UAC is ON. This does not create a problem with it off. I have a c# app with a backup/restore functionality and using sql server 2005 express. code to get the backupPath is used for both backup and restore and the name for all purposes will be backup.dat to generate backup path string path = Environment.GetFolderPath(Environmen...

Reading from a database located in the Program Files folder using ODBC

We have an application that stores its database files in a subfolder of the Program Files directory. These files are redirected to the VirtualStore in Vista and Windows 7. We represent data from the database using Microsoft DataReports (VB6). So far so good. But we now want to use Crystal Reports XI to represent data from the database. O...