Here is an example of how to use the File class:-
vbnet Code:
' Public Sub CreateTextFile() Dim txtFile As String = "C:\MyTextFile.txt" System.IO.File.WriteAllText(txtFile, "This is text") End Sub
|
Results 1 to 3 of 3
Thread: Create New FileThreaded View
|
Click Here to Expand Forum to Full Width |