Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2004

Tip: Looking for answers? Try searching our database.

ini File?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg - 20 Oct 2004 20:28 GMT
I am in the midst of rewritting a VB 6 desktop application to vb.net
desktop.  It  has a whole series of hard coded values that I would like to
store in an ini file for easier future modification.  It seems that ini
files are not in favor anymore and xml are the files of choice now.  Can
someone give me a heads up on how I read and write to an xml file in vb.net?
Are there any "rules/standardization/suggestions" I should try to adhere to?
This is a personal application and is not for client or public use.

Thanks,
Greg

Please respond to the group as I don't read the associated email account.
W.G. Ryan eMVP - 20 Oct 2004 20:34 GMT
You can just use Add New Item, Application Configuration.  create an
appSettings section and store the values in there.  System.Configuration is
the namespace that makes this very simple.
http://www.knowdotnet.com/articles/configfiles.html

Signature

W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com

> I am in the midst of rewritting a VB 6 desktop application to vb.net
> desktop.  It  has a whole series of hard coded values that I would like to
[quoted text clipped - 8 lines]
>
> Please respond to the group as I don't read the associated email account.
Dick - 21 Oct 2004 10:44 GMT
Beautiful for reading settings, but what if my program must write a setting
to the xml file?

> You can just use Add New Item, Application Configuration.  create an
> appSettings section and store the values in there.  System.Configuration is
[quoted text clipped - 15 lines]
> >
> > Please respond to the group as I don't read the associated email account.
scorpion53061 - 21 Oct 2004 11:49 GMT
Hello Dick,

http://www.kjmsolutions.com/xmlsettings.htm

> Beautiful for reading settings, but what if my program must write a
> setting
[quoted text clipped - 31 lines]
> > > Please respond to the group as I don't read the associated email
> account.
Atara - 24 Oct 2004 09:42 GMT
http://www.codeproject.com/dotnet/XMLSettingsFile.asp

Atara
Herfried K. Wagner [MVP] - 24 Oct 2004 11:55 GMT
"Atara" <Atara@DD.com> schrieb:
> http://www.codeproject.com/dotnet/XMLSettingsFile.asp

Storing and loading user preferences
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=userpreferences>

Signature

Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.