I'm not a very good programmer. Just throwing that out there, but i've also only been trying it for like 2 weeks. I use VB express 2005 and im just fiddling around with some functions. So far i can type words click a button and they are displayed in the rich text box. EXCITING

Code:
Public Class Form1


    Private Sub Displaytextbutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Displaytextbutton.Click
        DisplayBox.Text = DisplayBox.Text + Textinputbox.Text
            End Sub

End Class

Now what i'm trying to do is use a module to detect any functional inputs
such as

Clear Screen
Delete Last input

etc...

right now all i want is for my main form to call the module (_erase) and by calling it the rich textbox gets cleared. In my form i want to set up the functions.

EX.
If textinputbox.text = ("delete")
then
erase()

something along that line. I can't test it because when im writing the code it says declaration expected under displaybox no matter what i do.

Code:
Module _erase
    Displaybox.text = ("")
End Module
Basically...how do i declare display box

-Blackout