Click here to Skip to main content
15,923,852 members
Home / Discussions / C#
   

C#

 
GeneralRe: wrapping Dlls into .exe Pin
allenmpcx13-Aug-05 10:06
allenmpcx13-Aug-05 10:06 
GeneralRe: wrapping Dlls into .exe Pin
Vasudevan Deepak Kumar14-Aug-05 2:39
Vasudevan Deepak Kumar14-Aug-05 2:39 
GeneralRe: wrapping Dlls into .exe Pin
Joel Lucsy16-Aug-05 4:34
Joel Lucsy16-Aug-05 4:34 
GeneralRead an INI Pin
Anonymous12-Aug-05 14:48
Anonymous12-Aug-05 14:48 
GeneralRe: Read an INI Pin
S. Senthil Kumar12-Aug-05 19:54
S. Senthil Kumar12-Aug-05 19:54 
GeneralRe: Read an INI Pin
Matt Gerrans13-Aug-05 7:12
Matt Gerrans13-Aug-05 7:12 
GeneralRe: Read an INI Pin
S. Senthil Kumar14-Aug-05 3:40
S. Senthil Kumar14-Aug-05 3:40 
GeneralRe: Read an INI Pin
MrEyes13-Aug-05 10:10
MrEyes13-Aug-05 10:10 
Is the ini format necessary?

If not, consider using an XML file to hold your data. This can easily be read (and updated if necessary) using the functions/class available in the System.XML namespace.

As I example, if you had the following XML file:

<ini>
 <section name="1">
  <entry key="key1" value="abc">
  <entry key="key2" value="def">
 </section>
 <section name="2">
  <entry key="key1" value="ghi">
  <entry key="key2" value="jkl">
 </section>
</ini>


You would then have two options

1) Create a Schema for the XML file and then use the Framework SDK XSD tool to convert the schema to a csharp class. You can then desrialise the XML into an object and use the data within it.

2) Read the file into an XmlDocument, and uses Xpaths to read the data, for example :

if this is something that you might consider doing, post up a message and I will dig out some sample code

post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralRe: Read an INI Pin
Dan Neely15-Aug-05 2:10
Dan Neely15-Aug-05 2:10 
GeneralVersion of DLLs Pin
Anonymous12-Aug-05 14:26
Anonymous12-Aug-05 14:26 
GeneralRe: Version of DLLs Pin
AETaylor12-Aug-05 23:29
AETaylor12-Aug-05 23:29 
GeneralRe: Version of DLLs Pin
kuntal4110127-Apr-12 12:13
kuntal4110127-Apr-12 12:13 
Generalam a beginner and need good beginners toturials HELP ME!! Pin
medo_C#man12-Aug-05 13:40
medo_C#man12-Aug-05 13:40 
GeneralRe: am a beginner and need good beginners toturials HELP ME!! Pin
Jon Sagara12-Aug-05 14:23
Jon Sagara12-Aug-05 14:23 
GeneralRe: am a beginner and need good beginners toturials HELP ME!! Pin
Vasudevan Deepak Kumar14-Aug-05 2:36
Vasudevan Deepak Kumar14-Aug-05 2:36 
Questioncan i drow curve in c# interface Pin
malak nour12-Aug-05 7:04
malak nour12-Aug-05 7:04 
AnswerRe: can i drow curve in c# interface Pin
Judah Gabriel Himango12-Aug-05 8:46
sponsorJudah Gabriel Himango12-Aug-05 8:46 
AnswerRe: can i drow curve in c# interface Pin
[Marc]12-Aug-05 12:12
[Marc]12-Aug-05 12:12 
Generaldownloading Pin
Kimocat12-Aug-05 6:32
Kimocat12-Aug-05 6:32 
GeneralRe: downloading Pin
Alomgir Miah12-Aug-05 7:05
Alomgir Miah12-Aug-05 7:05 
GeneralRe: downloading Pin
Judah Gabriel Himango12-Aug-05 8:47
sponsorJudah Gabriel Himango12-Aug-05 8:47 
GeneralChanging the 'invalid' area from within OnPaint handler Pin
roel_12-Aug-05 6:17
roel_12-Aug-05 6:17 
GeneralAlign ColumnHeader Text Pin
zaboboa12-Aug-05 5:44
zaboboa12-Aug-05 5:44 
GeneralRe: Align ColumnHeader Text Pin
ToddHileHoffer12-Aug-05 7:18
ToddHileHoffer12-Aug-05 7:18 
GeneralRe: Align ColumnHeader Text Pin
zaboboa12-Aug-05 7:31
zaboboa12-Aug-05 7:31 

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.