User Profile

Collapse

Profile Sidebar

Collapse
TUSSFC
TUSSFC
Last Activity: Aug 15 '09, 12:34 PM
Joined: Apr 1 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • TUSSFC
    replied to VB6: Create ini file on the fly
    Doh ... I assumed you couldn't use FSO to create INI files, but you can.

    Set objFSo = CreateObject("S cripting.FileSy stemObject")
    Set objFileNew = objFSo.CreateTe xtFile(App.Path & "\config\" & strReportName & ".ini", ForWriting)
    objFileNew.Clos e
    See more | Go to post

    Leave a comment:


  • TUSSFC
    started a topic VB6: Create ini file on the fly

    VB6: Create ini file on the fly

    My VB6 application needs the ability to create custom "config" files on the fly.

    I.e. form field values need to be saved to this config file for later use.

    I've found plenty of code for reading/writing to INI files which seems to meet my needs in terms of saving the custom configs.

    However ... the INI file already needs to exist for this to work.

    How can I create a new blank INI...
    See more | Go to post
No activity results to display
Show More
Working...