Problem with reading .INI Files in C#

  • Thread starter Thread starter Kondapanaidu
  • Start date Start date
K

Kondapanaidu

Hi,

I am using .NETV1.1,

I have the problem with reading Ini file.

[xxx]
a
b
c

I am not reading this section.

But when I put

[XXX ]
a=
b=
c=

In this case I am reading fine.



[XXX ]
a
b
c

How to read this XXX section.

Thanks in advance.
 
Any code to demonstrate your problem?
Hi,
I am using .NETV1.1,
I have the problem with reading Ini file.

[xxx]
a
b
c

I am not reading this section.

But when I put

[XXX ]
a=
b=
c=

In this case I am reading fine.



[XXX ]
a
b
c

How to read this XXX section.

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
If your using P/Invoke to use the Kernel32.dll to read the INI files, the
equals sign is required I believe.
 
Back
Top