Home All Groups Group Topic Archive Search About

How retrieve app settings in Windows app?

Author
21 Sep 2006 6:11 PM
Ronald S. Cook
Sorry for the simple question, but whay line of code do I use to retrieve an
application setting made in a .NET Windows app?

Thanks,
Ron

Author
21 Sep 2006 10:35 PM
Herfried K. Wagner [MVP]
"Ronald S. Cook" <rc***@westinis.com> schrieb:
> Sorry for the simple question, but whay line of code do I use to retrieve
> an application setting made in a .NET Windows app?

'My.Settings.*'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
22 Sep 2006 10:09 AM
Eric Moreau
If you are using VB2005, Herfried gave you the easiest solution.

However, it you are using a previous version, have a look at an article I
wrote in May 2003 from http://emoreau.s2i.com/

--


HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
S2i web inc. (www.s2i.com)
http://emoreau.s2i.com/

Show quoteHide quote
"Ronald S. Cook" <rc***@westinis.com> wrote in message
news:eMweUla3GHA.1304@TK2MSFTNGP05.phx.gbl...
> Sorry for the simple question, but whay line of code do I use to retrieve
> an application setting made in a .NET Windows app?
>
> Thanks,
> Ron
>