[1 / 1 / ?]
Quoted By:
The Main Menu has a load button which opens a filedialog box to select a text file and display the contents on the page
Someone help?
Dim txtName1 As String
Dim OpenDLG As New OpenFileDialog
OpenDLG.Filter = "Text Files (*.txt)|*.txt|All Files|*.*"
OpenDLG.Title = "Open File"
OpenDLG.InitialDirectory = "C:\"
OpenDLG.RestoreDirectory = True
DialogResult = OpenDLG.ShowDialog
Someone help?
Dim txtName1 As String
Dim OpenDLG As New OpenFileDialog
OpenDLG.Filter = "Text Files (*.txt)|*.txt|All Files|*.*"
OpenDLG.Title = "Open File"
OpenDLG.InitialDirectory = "C:\"
OpenDLG.RestoreDirectory = True
DialogResult = OpenDLG.ShowDialog