Quantcast
Viewing all articles
Browse latest Browse all 3762

Selecting location to save my app's preferences file

My app successfully saves and reads data from a “Printer Settings” that I create, but it lives in the default folder where the application lives. This is from my code for saving the prefs:

var f As FolderItem
f = New FolderItem("Printer Settings", FolderItem.PathModes.Native)

How do I modify this with the correct syntax to save instead to the current user’s Documents folder? This way, whoever logs into the computer will simply be saving or reading the app preferences from their own Documents folder.

Thanks!

4 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3762

Trending Articles