Results 1 to 5 of 5

Thread: [RESOLVED] Rename INI Selection

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    417

    Resolved [RESOLVED] Rename INI Selection

    hi does anyone know how I can rename an INI Selection for example if I had an INI File like:

    [Main]
    WindowState=1
    Left=2
    [Test]
    Width=8
    Style=5

    how can I rename [Test] to something like [Border]

    Thanks.
    Last edited by dreamvb; Oct 26th, 2006 at 08:49 PM.
    When your dreams come true.
    On error resume pulling hair out.

  2. #2

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    417

    Re: Rename INI Selection

    well I chould do that but it's not really the ideal solution just by creating a new seelction because that whould mean the old selection will still be there with the old values.
    When your dreams come true.
    On error resume pulling hair out.

  4. #4
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Rename INI Selection

    I don't think this function is provided by the API. You would probably have to write your own. I could be wrong though...I've only used the API a few times and never tried what you're doing.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    417

    Re: Rename INI Selection

    Thanks DigiRev, I sorted it now I did as you said and it now working perfect only took about 6 lines of code in the end,

    thanks agian.
    When your dreams come true.
    On error resume pulling hair out.

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