Search code examples
vb6appdata

Moving a VB6's Data folder out of Program Files


I maintain a VB6 application that stores its data (access files) in a subfolder of the application folder. So, when the user installs the application to the default location of C:\Program Files\MyApp the data ends up in the Virtual Store. I have now been given the sweet task of converting the 1000 or so App.Path statements to a path to a Data folder that will not have any security issues. Can someone please help me out by pointing the way to some resources that will spoonfeed to me how to handle data in the Users\< Username>\AppData\Local\ folder?
Should I use the local AppData folder, or can I have the user choose a suitable location?


Solution

  • A useful discussion can be found here