Reading and writing to an INI file? 
Author Message
 Reading and writing to an INI file?

I have some old functions that I wrote in VB6 that read from and write to an
INI file. Do I need to use this older code or is there a new .NET way of
doing this?

Thanks in advance!

Wed, 11 May 2005 00:51:25 GMT  
 Reading and writing to an INI file?
Hi David,

Look at the AppSettingsReader class in .net. Here is some sample documentation
on it.

Instead of using INI file, you use an xml file called MyApp.exe.config.

Here is a uitility code for converting INI file to XML.

Read and Write application parameters in XML

Hope this helps!
Bharat Patel
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.              

Wed, 11 May 2005 06:06:54 GMT  
 [ 2 post ] 

 Relevant Pages 

1. Reading and writing to an .ini file in VB5

2. Any easy way to read and write to an ini file for this purpose?

3. Read/Write INI Files w/Access 7.0

4. Ini-file, read write and empty lines.

5. Reading and writing from and to ini files

6. read/write an .ini file

7. Reading and Writing to .ini files - help please.

8. Read and Write to INI files

9. Reading/writing to an INI file

10. Reading / Writing an INI file

11. Reading / Writing an INI file

12. How to read and write an ini file with Qbasic 4.5


Powered by phpBB® Forum Software