i want to communicate with a usb device using vb.
can anyone help me out with the details.
it would be very helpful
how to communicate with usb port using vb
Started by
Guest_sayantan_*
, Jan 08 2007 04:28 AM
10 replies to this topic
#1
Guest_sayantan_*
Posted 08 January 2007 - 04:28 AM
Guest_sayantan_*
|
|
|
#2
Posted 08 January 2007 - 12:20 PM
sayantan said:
i want to communicate with a usb device using vb.
can anyone help me out with the details.
it would be very helpful
can anyone help me out with the details.
it would be very helpful
Depends what USB device is! If it's a webcam you need one way, if its a printer its another thing! whats your device ;) be more specific if you want help!
#3
Posted 20 January 2008 - 04:18 AM
im connecting a bluetooth dongle to the USB, which will communicate with a remote bluesmirf bluetooth module.
I also need to know how to communicate with the USB port.:)
I also need to know how to communicate with the USB port.:)
#4
Posted 28 April 2008 - 06:31 AM
Hello all
I am trying to manage an USB CF card in order to detect the error messages and to make re-init (restart) of the card i case of some unexpected errors. Any example could help me.
Thank you!
I am trying to manage an USB CF card in order to detect the error messages and to make re-init (restart) of the card i case of some unexpected errors. Any example could help me.
Thank you!
#6
Posted 29 April 2008 - 06:56 AM
I am using API but this is not working with a CF card. Actually i am using the functions CreateFile and DeviceIoControl. This for eject and reopen the CF card. Do you recommend me something else?
Also i implemented a solution using devcon.exe but this also is not so convenient because i like to have a more silent re-init of the cf card.
Thank you!
Also i implemented a solution using devcon.exe but this also is not so convenient because i like to have a more silent re-init of the cf card.
Thank you!
#7
Posted 29 April 2008 - 12:05 PM
Every manufacturer creates its own APIs, so they aren't directly part of the language. Therefore, they can be badly written, or indeed not working properly at all.
Try checking the DOM documentation for details on which classes are available.
Try checking the DOM documentation for details on which classes are available.
#8
Posted 29 April 2008 - 12:18 PM
Thank you Xav for you answers...
The problem is that there is not a specific manufacturer for the CF cards i use. What i want is to make something general for the USB mass storage devices (especially for memory cards: CF, MMC, SD, MiniSD)
The problem is that there is not a specific manufacturer for the CF cards i use. What i want is to make something general for the USB mass storage devices (especially for memory cards: CF, MMC, SD, MiniSD)
#10
Posted 29 April 2008 - 01:12 PM
For the beginning it will be good if i will manage to reset the mass storage device (stop and start or some kind of re-init) or something like this. After i will think to manage the errors. I am thinking to catch some errors. The errors which i want to handle could appear while i will transfer the data into the card.


Sign In
Create Account

Back to top










