VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Open file to write lines

by Manish Bansal (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 16th June 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Open file to write lines

API Declarations


DIM strFilNam as String

Rate Open file to write lines



    strFilNum = Freefile()
    strFilNam = "C:\test.txt"
    
    Open strFilNam as strFilNum for output
    Print #strFilNum, "hello i'm writing the file name"

    Close #strFilNum
End Function

Download this snippet    Add to My Saved Code

Open file to write lines Comments

No comments have been posted about Open file to write lines. Why not be the first to post a comment about Open file to write lines.

Post your comment

Subject:
Message:
0/1000 characters