my.Settings

  • Thread starter Thread starter tc
  • Start date Start date
T

tc

I was hoping to be able to use the my.settings space to store an
installation date for my app, but it doesn't look like it's going to work.

To write a setting at run time it has to have User scope. Does this mean
the data would be stored seperately for each user?

Where is the settings data stored on the hard drive?
 
tc said:
I was hoping to be able to use the my.settings space to store an
installation date for my app, but it doesn't look like it's going to work.

To run on Vista, I'm guessing?
To write a setting at run time it has to have User scope.
Yes.

Does this mean the data would be stored seperately for each user?
Yes.

Where is the settings data stored on the hard drive?

To get the location of the User's profile, use the Windows API or, if
you're lazy like me, the Environment Variable %USERPROFILE%.

HTH,
Phill W.
 
Thanks Phil.

Phill W. said:
To run on Vista, I'm guessing?


To get the location of the User's profile, use the Windows API or, if
you're lazy like me, the Environment Variable %USERPROFILE%.

HTH,
Phill W.
 
Back
Top