I jz start to learn the programing of vb2005, but there is a new plugin of serialport, i reali dun no how to use it, who can tell me how to write the code to achieve a simple network connection, like chating, transfer the text
form1 include: textbox1,button1
form2 ~~~~~: textbox2.button2
how to make tt when i click the button1, the content of textbox1 will be sent to textbox2
(use network ee.. not form2.textbox2.text = textbox1.text ....)
hope can reply ^-^ thx veri much!

[VB2005]Q of Serialport ----> Need Help
Michiel de Bruijn
Do you want to specifically use the serial port or just create a means for two programs to communicate over a network.
If you want to get two programs communicating over a network -then you should look at something called .NET Remoting. A web search on this will reveal a lot of information.
If you want to use the serial port specifically .NET has a class specifically for the serial port. This has some examples.
http://msdn2.microsoft.com/en-us/library/30swa673.aspx
JeffreyCollins
thx for reply me~! ^^ but i dun no how to try out the solution tt in the website which u gave me, im a foreigner hence my English so sux, can help more
about this:
Navaron
It looks like you found an example.
This looks like a simple console application. So create a console application and then copy/paste this code and compile it which should generate you and EXE which you can then run.
Obviously you will need two machines connected via a serial cable.