hi
form consists of a richtextbox. and textbox and a button
contents of smile.text is "example1"
so when you type into the textbox and press the button
the richtextbox should show the text example1
but the program just hangs
any help would be great
form consists of a richtextbox. and textbox and a button
contents of smile.text is "example1"
Code:
Public Sub Form_Load()
On Error Resume Next
ReDim Emo(1)
ReDim Icon(1)
Emo(1) = ":)"
Icon(1) = smile.text
end sub
private sub button_click()
txtmain.SelRTF = Icon(i)
end sub
so when you type into the textbox and press the button
the richtextbox should show the text example1
but the program just hangs
any help would be great