PC Review


Reply
Thread Tools Rate Thread

How I can access the USB port using vb.net ?

 
 
masterkid
Guest
Posts: n/a
 
      30th Mar 2004
How I can access the USB port using vb.net ?

Any idea ?



Thankz



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
 
Brian Henry
Guest
Posts: n/a
 
      31st Mar 2004
yes, you can, but it takes some work and API knowladge... there is a book
out there on this topic, I can't remember the name, maybe someone else here
knows it about communicating with USB ports though the Win API


"masterkid" <(E-Mail Removed)> wrote in message
news:4069ea75$1@127.0.0.1...
> How I can access the USB port using vb.net ?
>
> Any idea ?
>
>
>
> Thankz
>
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet

News==----
> http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000

Newsgroups
> ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption

=---


 
Reply With Quote
 
Dick Grier
Guest
Posts: n/a
 
      31st Mar 2004
Hi,

You normally use whatever API is required for the specific hardware device
that is attached to the USB port. There is no general-purpose driver for
this. So, if you are connecting to a serial device, you use the Windows
serial APIs. If a sound device, you use the MCI APIs. If a disk drive, you
use the various file APIs. The actual driver that is installed when Windows
detects the USB device translates these Windows APIs to the device specific
commands required for the actual hardware.

However, if you have custom built USB hardware, you need lower level access
to the device. You must know A LOT about the hardware before this sort of
thing is useful. I suggest that you get a copy of Jan Axelson's book, USB
Complete, 2nd Edition. You can get information on it from the Books link on
my homepage.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i access com port in c# ? weird0 Microsoft C# .NET 1 19th Feb 2007 09:30 PM
UDP port access bill@bird.peck Windows XP Networking 0 16th Jan 2007 08:35 PM
Missing port types : local port and Standard TCP/IP port programmer_not_admin Windows XP Print / Fax 3 28th Dec 2006 02:08 PM
RDP Port access Rowland Costin Microsoft Windows 2000 Terminal Server Clients 1 11th Jan 2006 09:17 PM
Firewall detects local Port access, but Port hasn't been forwarded by Router iceman Windows XP Networking 4 8th Dec 2005 11:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:05 PM.