Re: Talking to USB
From: Ray Cassick \(Home\) (rcassickNOSPAM_at_enterprocity.com)
Date: 11/28/04
- Previous message: Michael D. Ober: "Re: Wait 3 seconds before run next line"
- In reply to: Don: "Re: Talking to USB"
- Next in thread: Don: "Re: Talking to USB"
- Reply: Don: "Re: Talking to USB"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 27 Nov 2004 20:42:24 -0500
Take a look here:
http://www.componentscience.net/Elements/TransPort/
I have never used this, am not affiliated with the company at all, and am
not sure if it will work for what you need.. I am just passing on an add
that I have seen a few times in MSDN Mag...
"Don" <phoney.email@yahoo.com> wrote in message
news:41a88c32.11305000@news.individual.net...
> Hi Roland,
>
> In my case it's a scanner but I can't use TWAIN because it's too high
> level. I have a list of low level commands which I wish to send to the
> scanner directly because they go beyond TWAIN capabilities.
>
> I'm beginning to realize that USB is not as simple as I thought but I
> expected at least some common approach to the most basic level i.e.
> identifying devices and then simple sending and receiving of bytes.
>
> Don.
>
> On Sat, 27 Nov 2004 13:42:20 +0100, "roland"
> <roland.demeester@skynet.be> wrote:
>
> >Don
> >I recently had to write an interface with a serial device that was
connected
> >through a usb-to-serial convertor. I spent some time browsing the net and
I
> >learned that there is no such thing as as a USB port and a USB protocol:
you
> >have to interface directly with the API's the USB driver for the device
> >provides for.
> >In my case the USB2COM convertor provided for a virtual serial port that
I
> >could communicate with, so it was fairly transparent. Unfortunately I
cannot
> >point you to any exemple that interfaces directly with the API's of a USB
> >driver.
> >Greetings, Roland
> >
> >"Don" <phoney.email@yahoo.com> wrote in message
> >news:41a74dba.8602887@news.individual.net...
> >> Environment: VB6 under W98
> >>
> >> I have a USB hardware device I wish to program directly. The original
> >> software installed a low level driver and the hardware is both
> >> registered and operational.
> >>
> >> Now then, I'd like to have access to this device directly. In other
> >> words, I'd like to enumerate all devices on the USB bus, pick the one
> >> I want, and then communicate with it (send commands, get data, etc).
> >>
> >> So, how does one go about talking to the USB? VB6/W98 combo doesn't
> >> seem to have any dedicated USB routines.
> >>
> >> What I need - I guess - is the USB equivalent of the MSComm control.
> >> Is there such a thing as a "USB Control"? What's the canonical way of
> >> talking to USB from VB?
> >>
> >> I did google around a bit but couldn't find anything applicable. Most
> >> sites and pages I came across seem to focus on actually writing a low
> >> level USB driver.
> >>
> >> Thanks!
> >>
> >> Don.
> >
> >
>
- Previous message: Michael D. Ober: "Re: Wait 3 seconds before run next line"
- In reply to: Don: "Re: Talking to USB"
- Next in thread: Don: "Re: Talking to USB"
- Reply: Don: "Re: Talking to USB"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|