Solved

Accessing USB Port

Posted on 2004-10-04
3
267 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Opening Remote & Local Data Connection 2 51
SSRS expression Issue finding a string 10 65
Determine Range to Select 5 42
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 45
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

932 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

12 Experts available now in Live!

Get 1:1 Help Now