Results 1 to 4 of 4

Thread: INI Files...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312
    it aint working, this is the code im using

    Code:
    Private Sub Command1_Click()
        'Call WriteINI("check.INI", "[options]", homepage.Value, "C:\My Coding Stuff\Web Browser\JafferConfig.INI")
    End Sub
    thats to write the info of HOMEPAGE into it

    homepage is a text box, that you write in what the homepage shall be

    im trying to get it inot the INI file under

    [options]
    homepage = whatever

  2. #2
    Hyperactive Member Matt-D's Avatar
    Join Date
    Nov 1999
    Location
    Mettmann, Germany
    Posts
    305
    I haven't read all the stuff abouve, but if you want a good
    example how to use ini-files from vb-world, you can send me an
    eMail.


    All the best, Matt-D

  3. #3
    Matthew Gates
    Guest
    Originally posted by JafferAB
    it aint working, this is the code im using

    Code:
    Private Sub Command1_Click()
        'Call WriteINI("check.INI", "[options]", homepage.Value, "C:\My Coding Stuff\Web Browser\JafferConfig.INI")
    End Sub
    thats to write the info of HOMEPAGE into it

    homepage is a text box, that you write in what the homepage shall be

    im trying to get it inot the INI file under

    [options]
    homepage = whatever

    Remove the brackets.

    It should be:


    Code:
    Private Sub Command1_Click()
        'Call WriteINI("check.INI", "options", homepage.Value, "C:\My Coding Stuff\Web Browser\JafferConfig.INI")
    End Sub

  4. #4
    Addicted Member
    Join Date
    May 2001
    Location
    Québec, Canada
    Posts
    131
    Here is the class module I use for my IniFile (I found it on vb-world.net I don't know where exactly).
    Khavoerm Irithyl

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