PORTS Forum
Ports and Interfaces => Serial Ports => Topic started by: nwoon on September 30, 2011, 09:22:36 am
-
Hi,
I'm trying to use the textbox input from Jan's program. I'm trying to send variables to a robot controller. I have no experience in VB.net (2008) but have some other programming knowledge. Can someone explain to me how this works and how I could possible send variables through the textbox.
According to Jan's current program, she just has the following, meaning we need to add what we want it to do?? but how??
Private Sub rtbMonitor_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rtbMonitor.TextChanged
ProcessTextboxInput()
End Sub
thanks
-
The ProcessTextboxInput routine sends the text in the text box to the COM port.
Also see:
http://msdn.microsoft.com/en-us/library/system.windows.controls.richtextbox.aspx
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx
Jan