Results 1 to 3 of 3

Thread: Read And Write ini file

  1. #1

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    43

    Read And Write ini file

    Dear all,

    Can You tell me how to read and write ini file in vb6 and use it as vareable?

    sample I have ini file :

    sample.ini
    DataServer = ServerIp
    Status = 1
    time = +8
    Timeserver = ServerTime

    ------
    how can I read that and use the vareable and how can I replace the vareable.

    thank you very much in advace, and I'm sorry cos no good english

    eka

  2. #2
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: Read And Write ini file

    Well we had a post Writing ini file only 3 days ago. Even thought it only says writing I've given my tip on reading as well.

    Have a read of that thread or do a search this has been talked about many times.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  3. #3

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    43

    Re: Read And Write ini file

    Thanks keith,
    Great Link

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