Hi i actually wanted to know how to program my USB port in Vb.net . I want the USB port of laptop to work as a serial port and for that i have an USB to Serial port converter ... But since laptop does not have any COM ports how do i know the to which USB port is my Adapter connected... ??
Programming USB port .
Collapse
X
-
Usually, when you install the driver for your USB to Serial cable, a new virtual port is created. Note that this port is only visible while the cable is connected to your laptop.
You can then use System.IO.Ports .SerialPort to communicate with your RS232 device, in the same way as you would with a plain RS232 port.
Check that your driver is installed properly. The USB to Serial cable is intended to allow legacy applications to work over USB, so it "pretends" that it is a plain RS232.
Comment