Welcome to Dream.In.Code
Become a VB Expert!

Join 149,964 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,354 people online right now. Registration is fast and FREE... Join Now!




VB6 and WMP

 
Reply to this topicStart new topic

VB6 and WMP

Aim25
2 Jan, 2008 - 06:01 PM
Post #1

New D.I.C Head
*

Joined: 2 Jan, 2008
Posts: 1

hello, i have a simple form with one wmp object playing music. i have visible property set to false so it doesn't show. But i would like to program a command button to stop the wmp object from playing, Is it possible, and if so how. Any help appreciated, thank you.
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: VB6 And WMP
2 Jan, 2008 - 06:53 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Why don't you post the code you've written so far, show how you are playing the music and such (please use code tags when posting code => code.gif ) and I'm sure one of us would be more than happy to help, but we need to see the code first smile.gif
User is offlineProfile CardPM
+Quote Post

LookNAO
RE: VB6 And WMP
3 Jan, 2008 - 07:35 AM
Post #3

D.I.C Head
**

Joined: 28 Dec, 2007
Posts: 66



Thanked: 1 times
My Contributions
QUOTE

Private Sub Command1_Click()

WindowsMediaPlayer1.Controls.stop

End Sub



User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 06:18PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month