Thanks for the help
Now for the real problem, here is the code that i have wrote so far however, i have got a problem with the save part of it
Below the is the code
Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click, SaveToolStripButton.Click
Dim Save As New SaveFileDialog()
Save.Filter = "Plain Text Files(*.txt)|*.txt|All files(*.*)|*.*"
Save.Title = "Save"
Save.ShowDialog()
Try
My.Computer.FileSystem.WriteAllText(Save.FileName, DirectCast(Me.ActivateMdiChild, NewWindow).RichTextBox1.Text, False)
Catch ex As Exception
End Try
End Sub
Now the error message that i am getting is
Error 1 Argument not specified for parameter 'form' of 'Protected Sub ActivateMdiChild(form As System.Windows.Forms.Form)'. C:\Documents and Settings\ChristopherMclellan\My Documents\Visual Studio 2008\Projects\MDI Text Editor\MDI Text Editor\Form1.
vb 49 75 MDI Text Editor
I was wondering if any body had any advice in tackling this
Thanks
Chris
P.s. i have attached the whole project if you require to look at the code in action