Dim FileTrue As Boolean = True
While FileTrue = True
If My.Computer.FileSystem.FileExists("/Paths/aPath.txt") Then
Form2.RichTextBox1.LoadFile("/Paths/aPath.txt", RichTextBoxStreamType.PlainText)
Else
Call PathSet()
FileTrue = False
End
If My.Computer.FileSystem.FileExists("/Paths/mPath.txt") Then
Form2.RichTextBox2.LoadFile("/Paths/mPath.txt", RichTextBoxStreamType.PlainText)
Else
Call PathSet()
FileTrue = False
End
If My.Computer.FileSystem.FileExists("/Paths/lPath.txt") Then
Form2.RichTextBox3.LoadFile("/Paths/lPath.txt", RichTextBoxStreamType.PlainText)
Else
Call PathSet()
FileTrue = False
End
If My.Computer.FileSystem.FileExists("/Paths/wPath.txt") Then
Form2.RichTextBox4.LoadFile("/Paths/wPath.txt", RichTextBoxStreamType.PlainText)
Else
Call PathSet()
FileTrue = False
End
End If
End If
End If
End If
End While
This in a Function being called at Load just doesn't work. No errors the Program won't even show up.
I am DEBUGGING not Released. Does it need to be installed for the paths to be read and created?