Problem with reading .INI Files in C#

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.
 
G

Guest

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
 
G

Guest

If your using P/Invoke to use the Kernel32.dll to read the INI files, the
equals sign is required I believe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top