Results 1 to 3 of 3

Thread: [RESOLVED] Creating a file on load?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    93

    Resolved [RESOLVED] Creating a file on load?

    Hi, im making a program and i need to make an empty text file on load. Any ideas?

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: Creating a file on load?

    VB Code:
    1. Private Sub Form_Load()
    2.     Open [i]filename[/i] For Output As #1: Close #1
    3. End Sub

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    93

    Re: Creating a file on load?

    that was simple enough.

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