Richtextbox withh form
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
-
i am using two FORMs. Form1 and Form2 Form1 have dialogbox, menu button etc and Form2 contain Richtextbox1.. from Form1 menu i open opendialog box i want the file open and display it in form2 richtextbox. please help me and reply me soon.... zabsmarty
you can use this in both VB.Net 2003 & 2005
If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then Dim newForm2 as New Form2 newForm2.RichTextBox1.LoadFile(OpenFileDialog1.FileName) newForm2.Show() End If
chatura