Solved

Accessing USB Port

Posted on 2004-10-04
3
268 Views
Last Modified: 2010-05-02
Dear Friends,

I am writing an application which should read from and write to USB port. But I dont know how to access it. I also can buy an OCX module if there is one. But at firsthand I want to acess it by my codes. I'll be happy to receive any codes or part of codes that will give insight.

I also appreciate any comments

Thanks in advance
0
Comment
Question by:MacroLand
  • 2
3 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12220205
USB has not a 'generic' driver. Will depend on which device are you trying to interface to. So, please detail.
0
 
LVL 4

Author Comment

by:MacroLand
ID: 12223271
I want to use it for a scale machine and also for a digital camera to take pictures.
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 125 total points
ID: 12223314
You will need specific drivers for each device, I guess scale driver could have an internal serial-to-usb converter, so you can program it as a serial device. Most cameras act as a standard USB harddisk.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question