C
CSharp
C++
Java
Visual Basic
HTML - CSS
Android
Asp
Asp.Net
Php
Python
JavaScript
SQL
XML
Assembly
ActiveX
API
Code Snippets
Database
Files Directories Drives
Forms
Graphics Games
Multimedia
Strings
Windows and Controls
More...
Visual Basic > Code Snippets sample source codes
Visual Basic Code > Add lines of text to a file
Add lines of text to a file Private Sub Form_Load() 'Replace 'c:\test.txt' with the name of the file you want to edit. Open "c:\test.txt" For Append As #1 'Replace 'new line added' with the line you want to insert to the file. Print #1, "new line added" Close #1 End Sub
Privacy Policy
|
Contact
|
Advertising
|
Link to Us
|
Directory