Click here to Skip to main content
6,305,776 members and growing! (15,289 online)
Email Password   helpLost your password?
Languages » VB.NET » General     Intermediate

Saving and Retrieving Application Control Settings as a *.confg file

By Brad Fackrell

This example will illustrate how the value of a control can be saved to a Config ( *.confg) file and then be retrieved.
VB.NET 1.1, Win2KVS.NET2003, Dev
Posted:27 Jun 2004
Views:28,059
Bookmarked:21 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
8 votes for this article.
Popularity: 3.73 Rating: 4.13 out of 5
1 vote, 12.5%
1
1 vote, 12.5%
2

3

4
6 votes, 75.0%
5

Sample Image - bfackrellConfg.gif

Introduction

This example will illustrate how the value of a control can be saved to a *.confg file and then retrieved. If you open the source code you will notice that a class writes the data to a Config (*.confg) file.

Though there are many ways of saving and retrieving application data, this GUI illustrates one of my favorites. Reboot from Xtreme Visual Basic Talk gets all of the credit for coding the class. He wrote the class and I simply designed a GUI to illustrate (to ?New Guys? like myself) how it works.

Click here to see Reboot?s article.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Brad Fackrell


Member
Brad is currently working as a CAD Analyst for SAIC while attending school at the University of Maryland studying Computer Science.

Brad has five great children and a great wife who manages to keep all of them in line.

Brad is looking forward to the day when he can have one job and no school so that he can spend more time with his family.

Other than his new found interest in computer programming, he enjoys just about anything that he can do with his family which includes boating on the Chesapeake Bay, camping, trips to the zoo and many other fascinating things that the greater Baltimore, Maryland area has to offer.
Company: SAIC
Location: United States United States

Other popular VB.NET articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 2 of 2 (Total in Forum: 2) (Refresh)FirstPrevNext
GeneralConfigurationSettings Class PinmemberValentinR23:02 28 Jun '04  
GeneralRe: ConfigurationSettings Class PinmemberBrad Fackrell3:19 29 Jun '04  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 27 Jun 2004
Editor:
Copyright 2004 by Brad Fackrell
Everything else Copyright © CodeProject, 1999-2009
Web17 | Advertise on the Code Project