Click here to Skip to main content
13,140,231 members (47,629 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi All,

At the moment I am trying to implement an ini loading function that will set variuos values

Posted 31-Oct-11 4:59am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There are several ini parser classes available:[^]

Ini files are very simple. So it's fairly trivial to roll your own class if you so desire.


In response to your comment, take a look at :[^]
glennPattonWork 31-Oct-11 11:04am
Umm thanks, fast reply the question looks like it got mangled!
glennPattonWork 31-Oct-11 11:45am
my actual question was on how do you set the Serial port class members
string ParityVariable; // Parity.None

ComPort.Handshake = Handshake.None;
I can't seem to find a way of doing that for Handshake, Parity & Stopbit.

Nishant Sivakumar 31-Oct-11 11:47am
I don't get what this has to do with ini files at all.

But see the example code from :
glennPattonWork 31-Oct-11 11:51am
Don't blame you!
Nishant Sivakumar 31-Oct-11 11:52am
Ok, this is getting to be like one of those Friday night thriller movies now. No one knows what's going on :-)
glennPattonWork 31-Oct-11 11:56am
Sorry, I think I'll end this question and repost properly
Nishant Sivakumar 31-Oct-11 11:58am
Good idea!
Nishant Sivakumar 31-Oct-11 11:58am
Or just edit your OP.
Bala Selvanayagam 31-Oct-11 12:03pm
lol thriller movie....i am still laughing :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170915.1 | Last Updated 31 Oct 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100