Hello, I am a student in a VB2008 class. I am using this code to copy data in a textbox to a text file. I have several forms to copy data from. Can this be done or do I need to do each form seperately?
Dim FILE_NAME As String = "C:\test2.text" My.Computer.FileSystem.WriteAllText(FILE_NAME,txtelectronic.text,True) MsgBox("Text written to file") End If