Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

USB thing

Dear experts!
I've got a simple (USB)mp3-player with a small LCD screen/module.
Is it possible to change the content of that screen?
And recieve "data" when I push for example the play button on the mp3-player,
Visual basic shows a msgbox.
Thank you
[284 byte] By [Private_sub] at [2007-11-11 8:14:26]
# 1 Re: USB thing
Are you trying to talk to the MP3 player when it is connected to your computer, or do you want a program that will run on the MP3 player?
edburdo at 2007-11-11 17:25:43 >
# 2 Re: USB thing
I'm trying to talk to it.
To tun a program on it would also be cool:) , but that's not what I'm looking for.
Private_sub at 2007-11-11 17:26:43 >
# 3 Re: USB thing
There are several VB Classic components to talk through a USB port.

The big question is... does the device allow you to talk to it? If they don't have an SDK or such, you probably can't communicate with it very easily.

And unless your USB device runs windows, you can't write a VB app for it. :)
edburdo at 2007-11-11 17:27:44 >
# 4 Re: USB thing
Ok, thanx.
maybe I can run Windows 95 on it?
I've got it on a floppy-disk, so it's not bigger than 1.44 MB:)

But just change the screen, checked wether a button is clicked on the mp3-player etc.
Do you know how to do this?
Private_sub at 2007-11-11 17:28:49 >
# 5 Re: USB thing
You need the SDK for the device. If they don't have one, then you can't manipulate the device.

VB can send the commands, but if you don't know what commands to send, or if the device is even capable of understanding commands, then you can't really send anything.

So, check with the manufacturer of the device. See what they have available.
edburdo at 2007-11-11 17:29:48 >
# 6 Re: USB thing
I'll check it!
But what is SDK?
Private_sub at 2007-11-11 17:30:47 >
# 7 Re: USB thing
SDK = Software Development Kit. Usually it contains some documentation and possible code samples of how to use the device via a customer program.

To be honest though... I wouldn't be surprised if they don't let you interact with the device at all. It is very common with most USB devices.
edburdo at 2007-11-11 17:31:57 >
# 8 Re: USB thing
****:( I can't do it:(
And in the device manager this are it's possibilities:
Unique ID and Remove...
Nothing more...

But thank you very much for your replies!
Private_sub at 2007-11-11 17:33:00 >