By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,773 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,773 IT Pros & Developers. It's quick & easy.

USB port communication?

P: n/a
hi, how can i communicate with my USB port to say..transfer something to my
SD card through an external card reader? thanks
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a
Hi,

You would use whatever driver and API are provided for your device. In this
case the card will be installed as disk drive, so... You simply copy the
file using the appropriate path.

There isn't a single method for using USB -- every device provides its own
API. These either are standard Windows APIs, or ones specific to the device
that the device manufacturer provides you.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
Nov 21 '05 #2

P: n/a
Ok thanks
Nov 21 '05 #3

P: n/a
Dick!

That book has a little VB 6, but is mainly C++.

You could also look at Intel's website for a few other VB6 examples too.
They won't be difficult to convert to VB.NET

Also, depending what you are communicating with you will need to know the
manufaqcturer's info on the hardware

One other thing you can do is use a MSDN subscription to get the driver
development kit, so, you can write your own inf files too. Maybe you don't
need the subscription now, but you did 3 years ago when I was doing a lot of
USB/VB programming for different devices.

Crouchie1998
BA (HONS) MCP MCSE
"Dick Grier" <di**************@msn.com> wrote in message
news:OQ**************@TK2MSFTNGP10.phx.gbl...
Hi,

You would use whatever driver and API are provided for your device. In this case the card will be installed as disk drive, so... You simply copy the
file using the appropriate path.

There isn't a single method for using USB -- every device provides its own
API. These either are standard Windows APIs, or ones specific to the device that the device manufacturer provides you.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.