manipulating INI files

Discussion in 'Questions (Windows Mobile)' started by lairdre, May 9, 2007.

  1. lairdre

    lairdre Member Licensed User

    I am looking for code that allows reading and writing of INI files. I don't think this is supported in the base Basic4PPC. Does anyone know if there are compact framework routines that support INI files, if so I could create a labrary for it. If its in the CF framework I can't find it.


  2. RandomCoder

    RandomCoder Well-Known Member Licensed User

  3. lairdre

    lairdre Member Licensed User

    I'm not looking to learn how to read and write files, I'm looking for functions to reand and write key and value pairs within the INI file within section headers.

    Normally you would see a function that would take 3 parms, section header, key, and value:

    something like write("main", "key", "vale") or read("main","key")

    Any one already have this?

  4. Cableguy

    Cableguy Expert Licensed User

    Hi Ron

    In the Topic pointed by RandomCoder, I posted an example on how to read parameters to change controls presentation, namely a "language change" example....the ini file principle is about the same....
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice