Serial communication with csharp
Hi,
I am using windows application. I have some parameters to communicate with another combot using RS232. For example i am having input parameters like Id:4545:Floors;2,3:Type:1 like that. This is have an input parameters now i want to send this parameters to combot using port. Is it possible to send the parameters to combot using port? shall we have communicate with them and can we get a response message from them? Is it possible using coding reply me.
Hope your's reply.
Thanks
Re: Serial communication with csharp
Sure. The code is almost identical to that for VB. You can base it on the SerialPort control in the toolbox (System.IO.Ports.SerialPort). You can download VB example code from my homepage (www.hardandsoftware.net).
Dick
Re: Serial communication with csharp
hi,
Thanks for your reply. I dont want to code in vb. I want to code in csharp. Is any csharp code for this one? Hope your's reply.
Thanks
Re: Serial communication with csharp
Quote:
Originally Posted by
Guvera
I dont want to code in vb. I want to code in csharp.
Then why are you posting in the VB forum?
Re: Serial communication with csharp
Re: Serial communication with csharp
C# and VB are (virtually) the same. You can use the VB code as a guide. This is a VB forum.
Dick