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.

    Thanks,

    Ron
     
  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?

    thanks,
    Ron
     
  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....
     
Loading...