.INI Configuration format? [message #317617] |
Sun, 17 February 2008 16:26 |
bat66wat6
Messages: 331 Registered: September 2007
Karma: 0
|
Recruit |
|
|
In order for some things I need I have to use a .configuration format INI file.
Unfortunately I can't create these .config files by simply saving a Text Document in the format or renaming the text document to BlaBla.config or BlaBla.configuration.
Can someone please tell me how I create a configuration file?
Thanks...
|
|
|
|
|
Re: .INI Configuration format? [message #317622 is a reply to message #317617] |
Sun, 17 February 2008 16:56 |
|
Dave Anderson
Messages: 1953 Registered: December 2004 Location: United States
Karma: 0
|
General (1 Star) |
|
|
An INI file simply stores configuration information. Sections are used to categorize your keys, and the keys simply provide a unique name for that "setting". Here's an example:
[Appearance]
BackgroundColor=Blue
ForegroundColor=White
[Behavior]
Cache=True
Roshambo's example is just as easy to follow though..
David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
[Updated on: Sun, 17 February 2008 16:57] Report message to a moderator
|
|
|
|
Re: .INI Configuration format? [message #317659 is a reply to message #317631] |
Sun, 17 February 2008 20:29 |
bat66wat6
Messages: 331 Registered: September 2007
Karma: 0
|
Recruit |
|
|
No.
I aint on about C++. Your precious little C++ programme is bitchin me about, I can't even get all the stuff the dude wants me to. That SDK thing is having problems...
Takes 20 mins to get 3/4 download then freezes!
Besides, I was on about this to be more exact!
The type of Configuration Settings file that opens with Notepad!
SS explains even further if needed!
|
|
|
|
Re: .INI Configuration format? [message #317665 is a reply to message #317663] |
Sun, 17 February 2008 20:44 |
bat66wat6
Messages: 331 Registered: September 2007
Karma: 0
|
Recruit |
|
|
I think that you have done a bit to much coding RoShamBo. You seem to speak almost in 0010100's to me sometimes...
Key=1
Key=0
What the hell is that sort of stuff gonna do for me?
All I need to know from this query is how the hell when I open up Notepad(or .txt file) I can save it in Configuration Settings format???? So it's properties are like that of the above SS in previous post???
|
|
|
|
|