I am currently trying to make an application, sort of a mock sound player. I got so far as to make a play button to play, and a stop button to stop. But i need a way to pause it. I noticed that visual basic does not have a pause command so is there any way that I could possibly make something else to tie up the program, which would make the playing of the music stop and wait until this is done, then i can press play again to make it start.
Thanx

Recommended Answers

All 3 Replies

What are you using to play the music/sound?

What are you using to play the music/sound?

just the code My.Computer.Audio.Play(My.Resources.vb_test_sound, AudioPlayMode.Background)

Consider using the windows media player. You can add the control by right clicking and select add items. Find Windows Media Player and load it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.