VB.NET - File Operations



Write to a Text file

'Assembly: System.dll
'Namespace: System
'Namespace: Microsoft.VisualBasic

'Filename: syntaxhelp.txt
'Text: "Hello World"
'Append: false

My.Computer.FileSystem.WriteAllText("syntaxhelp.txt", "Hello World", False)

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.