I need my application to ask the user to browse to a particular file, save that files location and subsequently write a string from a TextBox to it.
However, I only need my end-user to browse to the file the first time the application launches. Only once.
Here lies my dilemma, how can I have my application remember if it was the first time it launched?
I think you want a folder, not a file, but that is besides the point.
You can use a UserSetting (See Project properties, Settings) and deploy it with an empty or invalid value. Only when you read the invalid value from settings do you start the Dialog.
This is on a per-user basis.
You can use the Registry in .NET but you really want to stay away from that as much as possible. The fact that the library is not in a System namespace is an indicator.