473,378 Members | 1,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Programming USB port .

3
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... ??
Jan 31 '09 #1
2 4350
vekipeki
229 Expert 100+
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.
Feb 2 '09 #2
raids51
59
the S in USB = SERIAL. Correct me if im wrong but from what i understand usb ports are listed as COM ports
Feb 6 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Bonj | last post by:
I've been following a socket programming tutorial to make a simple TCP communication program, seemingly without hitches, it appears to work fine. However the structure of it is to have a server...
3
by: rusttree | last post by:
Many moons ago, I took a class in embedded control at school. The course focused on a micro-controller mounted on a small electric car that was programmed using simple C code. The...
4
by: 0to60 | last post by:
I have a question about socket programming in general. Exactly what happens behind the scenes when I one socket connects to a different socket in listen mode? Using the dotnet framework, I...
5
by: John Sheppard | last post by:
Hi all, I am not sure that I am posting this in the right group but here it goes anyway. I am new to socket programming and I have been searching on the internet to the questions I am about to pose...
5
by: AtherMurtuzapurwala | last post by:
Hi All, I am doing socket programming. Client is in C#.Net 2003 and Server is in VC++ 6.0 When Server uses csoc class than it connect & communicate to client without any problem.... ...
7
by: Brian | last post by:
Can anyone help me to understand how to make VB .NET transmit text entered in a text box through a serial port while providing the user with the ability to select baud rate, parity, data bits, stop...
2
by: Sandy | last post by:
Hi All, I'm a newbe to socket programming, I need to work on a project that has to be developed in C++ or Visual C++ ( I have 8.0 version) console application. which will be execute from a Java...
13
by: 7stud | last post by:
I have the following two identical clients #test1.py:----------- import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) host = 'localhost' port = 5052 #server port
1
by: Z.K. | last post by:
I know this is probably not the correct newsgroup, but I can't find anywhere else that is appropriate to post it in. I need to figure out how to write a bluetooth program to access a bluetooth...
6
by: The D0ct0r | last post by:
Hi People, I am working on a tcp client/server, using this tutorial: http://tldp.org/ LDP/LG/issue74/tougher.html Everything works fine, as long as I connect to my own machine (localhost) When...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.