Serial in vb.net Serial in vb.net Harris100 (Programmer) (OP) 8 Feb 15 01:28 How to I change these lines in vb.net Serial? Thanks MSComm2.CommPort = 4 MSComm2.PortOpen = True MSComm2.Settings = "9600,N,8,1" MSComm2.InBufferCount = 0 RE: Serial in vb.net softhemc (Programmer) 8 Feb 15 04:43 My.Computer.Ports.OpenSerialPort() has a number of overloads to enable you to open the port with a variety of parameters. RE: Serial in vb.net softhemc (Programmer) 8 Feb 15 04:48 Alternatively drop a SerialPort component on your form and set its properties either through code or through the PropertyGrid. RE: Serial in vb.net Harris100 (Programmer) (OP) 8 Feb 15 05:40 is this is correct? My.Computer.Ports.Serial.CommPort = 4 My.Computer.Ports.Serial.PortOpen = True My.Computer.Ports.Serial.Settings = "9600,N,8,1" My.Computer.Ports.Serial.InBufferCount = 0 Thanks RE: Serial in vb.net softhemc (Programmer) 8 Feb 15 11:52 I've never used any form of port control with VS. The last time I directly programmed serial or parallel ports was in assembler under DOS. I've just given you a couple of alternative things for you to experiment with. You can also look at System.IO where all the port control methods reside. (My.Computer) just uses a small subset of them.