Solved

Accessing USB Port

Posted on 2004-10-04
3
266 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now