Playing .mp3 files based on user input

M

Maxi

I have few .mp3 files in C:\MP3 folder. All .mp3 files are of duration
10 seconds

a.mp3
b.mp3
c.mp3
..
..
..
..
z.mp3

I want a textbox that should allow only one character.

The moment I open the excel file, the cursor should go in that textbox
automatically.

If I type "A" in the textbox, it should play "a.mp3" file after 10
seconds (when the song is over), it should stop the song and take the
cursor back to the textbox for another input.

If I type anything besides A to Z keys, it should erase all characters
in the textbox, take the cursor in the textbox and do not play
anything.

I use Musicmatch and Windows Media Player to play .mp3 songs.
 
D

Dave Peterson

You didn't like the answers you got yesterday?
I have few .mp3 files in C:\MP3 folder. All .mp3 files are of duration
10 seconds

a.mp3
b.mp3
c.mp3
.
.
.
.
z.mp3

I want a textbox that should allow only one character.

The moment I open the excel file, the cursor should go in that textbox
automatically.

If I type "A" in the textbox, it should play "a.mp3" file after 10
seconds (when the song is over), it should stop the song and take the
cursor back to the textbox for another input.

If I type anything besides A to Z keys, it should erase all characters
in the textbox, take the cursor in the textbox and do not play
anything.

I use Musicmatch and Windows Media Player to play .mp3 songs.
 
D

Dave Peterson

Google is a nice way to search for your old posts--as well as answers to similar
questions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top