How To Set The Title As Opened File Name To Form?
By Goniey N
Set The Filename As Title Of Your Selected File From The OpenDialogBox...
If OpenFileDialog1.ShowDialog = DialogResult.OK Then
filename = OpenFileDialog1.FileName
RichTextBox1.LoadFile(filename)
End If
'Set The Form Title Name As Filename.....
Me.Text = filename
How To Set The Title As Opened File Name To Form? (230 Views)