Home All Groups Group Topic Archive Search About

Reading application settings

Author
17 Apr 2006 3:04 AM
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

Author
17 Apr 2006 5:39 AM
gene kelley
Show quote Hide quote
On Mon, 17 Apr 2006 04:04:28 +0100, "John" <John@nospam.infovis.co.uk>
wrote:

>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