ini in c sharp

  • Thread starter Thread starter jack
  • Start date Start date
J

jack

hi all
im a beginer and im searching on web a good example of how to
create an ini file in c sharp
is this file has to be created with some functions as it was there in
vb6 like get profiler
please if any one can help me in this then this would be a greate
help
thanks.
 
There is nothing out the box that will allow you to process ini files in
C#. Rather, you will have to use the same API calls that you used in VB6,
through the P/Invoke layer.

Hope this helps.
 
jack said:
hi all
im a beginer and im searching on web a good example of how to
create an ini file in c sharp
is this file has to be created with some functions as it was there in
vb6 like get profiler
please if any one can help me in this then this would be a greate
help
thanks.

Hello Jack,

In the .net platform, we do not use INI files any more. We use something
called CONFIG files. These are files in XML format that you put into the
same directory as your application. That way, each application has its own
configuration settings.

http://search.msn.com/results.aspx?q=app.config+.net
http://msdn.microsoft.com/library/d...f/html/frlrfsystemconfigurationassemblies.asp

Hope this helps

--- Nick Malik [Microsoft]
 
Back
Top