Posted By: Emyr | Jun 12th @ 12:58 PM
page 1 of 1
Comments: 3 | Views: 274
Emyr
Emyr
In front of my computer....
Dear all,

I hope you can help me with an issue I'm having in a C# app I'm working on.

I want a window to pop up when the app is run for the first time, which will ask the user to set some environmental variables, the code to set the variables is already in place, as is the code to read it.  It's just that I don't know how to check if this is the first time the app has been run.

Any help would be greatly appreciated.

Emyr Smiley
ZippyV
ZippyV
Soapbox = Fail
How about another variable in the settings called firstrun ? Set it to true when the variables are set.
stevo_
stevo_
Casablanca != Manchester
Well, your task is more than you want to user to setup these variables is it not.. so what you are really asking is...

If these variables haven't been setup, then prompt the user for them.. I don't think this is so much associated with the first run (although this is the most common scenario of course).

It would also be a lot easier to do.
page 1 of 1
Comments: 3 | Views: 274