I have a VB6 app created on a Windows XP system for which I use the Package and Deployment Wizard to create a Setup file that installs the program in DriveLtr\Program Files\PMM (e.g. in C:\Program Files\PMM). I wish to have data files created by the app in the same folder as the program.
This works fine under Windows XP but under Vista the data files are stored in:
C:\Users\Tom\AppData\Local\VirtualStore\Program Files\PMM
I suspect that this has something to do with Vista's screwy security features. Is there any way to get around it?
Related to this I created a small VB6 app on a Vista system to test possibilities for locating the data files. I simply tried to write a sequential file to App.Path but the file got written to the Users area as above. Further, when I tried to compile (Make .exe) the app under VB I got a message saying that I "can't save files to this location" and to see the Administrator. I AM the Administrator. What's up with this?
Thanks.
This works fine under Windows XP but under Vista the data files are stored in:
C:\Users\Tom\AppData\Local\VirtualStore\Program Files\PMM
I suspect that this has something to do with Vista's screwy security features. Is there any way to get around it?
Related to this I created a small VB6 app on a Vista system to test possibilities for locating the data files. I simply tried to write a sequential file to App.Path but the file got written to the Users area as above. Further, when I tried to compile (Make .exe) the app under VB I got a message saying that I "can't save files to this location" and to see the Administrator. I AM the Administrator. What's up with this?
Thanks.