Solved

Accessing USB Port

Posted on 2004-10-04
3
269 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

733 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