Reading application settings

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I have searched help and web for the answer to this but can't get a clear
enough answer. I have defined an application setting as Interval of type
long and value 1000. My question is; how do I read this setting in my app
programmatically?

Thanks

Regards
 
Hi

I have searched help and web for the answer to this but can't get a clear
enough answer. I have defined an application setting as Interval of type
long and value 1000. My question is; how do I read this setting in my app
programmatically?

Thanks

Regards

If the name of the setting is "Interval" :

MyValue = My.Settings.Interval

Why a long datatype for a value of 1000?

Gene
 

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

Back
Top