VB.NET - Write to a Text file



Write to a Text file

'Assembly: System.dll

'Namespace: System
'Namespace: Microsoft.VisualBasic

'Dim filename as String = "c:\syntaxhelp.txt"
'Dim textContents as String = "hello world!"

My.Computer.FileSystem.WriteAllText(fileName, textContents, append)

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.