Post Number: 1053
|Posted on Tuesday, November 11, 2008 - 12:07 pm: |
"ie. ..\Program Files\My Folder\My Files, where My Folder contains exe and My Files contains database and other r/w files. "
No, you CANNOT have any r/w files in the Program Files folder anywhere if you plan on using them to be written to, sub folder or not. You need to use the USERAPPDATA folder as noted.
What is stated in the vistainstalls web page you place the database and support files in the Program Files folder at install time then at program startup time you copy these r/w files to the USERAPPDATA where they can be used as r/w by the application.
For registration, you need to use the registry or a file in the r/w folder or somewhere else on the computer for this information. In either case you need to encrypt the data stored for safer storage.