![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2006
Posts: 10
Rep Power: 0
![]() |
If You See This Help ME!! please!
how do i save and create data into an INI file??
|
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Donnie, please take the time to read the forum's rules/FAQ and a "How to Post..." thread. Subject lines should indicate something about your problem. All the new members in a frustrated panic say, "HELLLLLLLLLLLPPPPPP!!!!!!!!!!!!111111111111". Give us a break. Present your problem, your attempt at solving it (if you have one), or explain what you don't understand. Actually, a .ini file can have multiple meanings, one as simple as a plain text file.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Expert Programmer
|
if you want it as simple as a plain text file as dawei said, search the forums, the answer is already here.
|
|
|
|
|
|
#4 | |
|
Professional Programmer
Join Date: Feb 2005
Location: PA, USA
Posts: 254
Rep Power: 4
![]() |
Quote:
the answer is usually only a google search away http://www.profsr.com/vb/vbless08.htm
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
|
|
|
#5 |
|
SEXY SHOELESS GOD OF WAR!
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,195
Rep Power: 5
![]() |
Look up 'file I/O' in your docs. You can use text streams (or whatever VB calls 'em) to do this, assuming there actually is a file. This is because for some (later) versions of Windows, some of the entries in certain .INI files are actually stored as registry keys instead. You might find using registry keys to be a cleaner solution, unless you want the user to manually edit settings with a text editor (regedit.exe scares many Windows neophytes).
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
#6 |
|
Expert Programmer
|
regedit.exe scares many Windows neophytes @Donnie Scary at first, but if you tackle it, it is extremly useful for future reference. As Lectricparaoh said, if you want the suer to be able to change the settings manually, use a text file, else head for the registry. The only thing I ever used the regisry for, was startup procedures :p |
|
|
|
|
|
#7 | |
|
Newbie
Join Date: May 2006
Location: Narvik, Norway
Posts: 22
Rep Power: 0
![]() |
Quote:
Basically you need to know about; open/close/read/write to a file, for-loops, and mid$()
__________________
To sell your own books it's like selling a piece of your soul. Kim |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|