Read data from a USB port using MSComm control

Hi,
I have to rewrite a VB6 application which currently uses MSComm control to retrieve date form the comport1 serial port. I would like to know if the same comm control can be used to retrieve data from a USB port. If not, how to retrieve data using the USB port in VB code.
I am using a symbol technologies 2D barcode scanner.
Any comments, help etc is greatly appreciated.
Thanks,
Hima.
LVL 1
Hima76Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ddepastinoCommented:
I have used scanners with VB6 and didn't have to use MSCOMM at all.  Newer scanners simulate keyboard strokes, you should be able to just set focus on a textbox and scan away.

I looked up that scanner on the web and even their documentation says the same:
http://idautomation.com/scanenable/

Scan data directly into the field on the form:
 
This is the simplest of all implementations. To scan a barcode all you have to do is place the cursor on a field in a form and scan the barcode. This process can be automated to include tabs and returns with our Code 39 and Code 128 barcode products - even in web browsers and custom operating systems. By using tabs and returns, a single barcode can enter data in one field, tab to another, enter more data and choose the default button (a return). Information about encoding tabs and returns into barcodes is available in our Code 39 FAQ and the Code 128 FAQ


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.