Question : Accessing Program files in Vista?

Hi,

i seem to be unable to find an access database that i have created in a subfolder of c:\program files
I have installed a program, using an installationpackage i have created with installshield. (everything works fine on XP!)
Now, i created, using a small exe i created in VB, an msaccess mdb in a subfolder (c:\program files\inw\lotsoft\data) but i am unable to see it in windows explorer.
I can not even find it using the search function, on my entire computer.

So i compiled another little exefile that opens the database, and reads a record.
It comes back and, yes, it shows me the correct record from a table in that database.

Why can i not actually see that database???
not even find it?

cheers
Ricky

Answer : Accessing Program files in Vista?

In Vista, the general rule is 'thou shalt not write to Program Files'.  The application creating and accessing the database probably thinks it is accessing Program Files, but a protection feature called folder virtualization could be discretely directing your app to an AppData subfolder under a user profile.  I would check the AppData folders to see if your database is in one of those.
Random Solutions  
 
programming4us programming4us