Click here to Skip to main content
15,878,748 members
Articles / Programming Languages / Visual Basic
Article

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

Rate me:
Please Sign up or sign in to vote.
4.13/5 (8 votes)
27 Jun 2004 46.8K   1.8K   33   3
This example will illustrate how the value of a control can be saved to a Config ( *.confg) file and then be retrieved.

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


Written By
SAIC
United States United States
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.

Comments and Discussions

 
QuestionMay I use this code in my application? Pin
Martin 'skunk' Rotter11-Jul-10 20:40
Martin 'skunk' Rotter11-Jul-10 20:40 
GeneralConfigurationSettings Class Pin
ValentinR28-Jun-04 22:02
ValentinR28-Jun-04 22:02 
GeneralRe: ConfigurationSettings Class Pin
Brad Fackrell29-Jun-04 2:19
Brad Fackrell29-Jun-04 2:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.