my.Settings

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?
 
P

Phill W.

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.
 
T

tc

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top