CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: INI Files

  1. #1
    Join Date
    May 1999
    Location
    MD, USA
    Posts
    35

    INI Files

    Does anyone know how to read and modify an ini file?

    --
    Screaming Fist
    A witty saying proves nothing.

  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: INI Files

    CrazyD from this forum posted a good class module to the CodeGuru site that handles ini file reading and writing at :

    http://www.codeguru.com/vb/articles/1772.shtml

    - or you can do it yourself with the GetPrivateProfile... WritePrivateProfile... API calls.



    Chris Eastwood

    CodeGuru - the website for developers
    http://www.codeguru.com/vb

  3. #3
    Join Date
    Apr 1999
    Posts
    30

    Re: INI Files

    use function WritePrivateProfileString to write to ini and GetPrivateProfileString to read from ini file.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured