User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 425,926 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,704 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 980 | Replies: 3
Reply
Join Date: Oct 2006
Posts: 8
Reputation: **UM HASSAN** is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
**UM HASSAN** **UM HASSAN** is offline Offline
Newbie Poster

urgent plz????????

  #1  
Dec 23rd, 2006
can any body explain for me the way of using media player control in vb.net2003.


i want a video to start only when clicking on a certain button. i don't want it to start automatically when the form is loaded..
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 6,855
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 23
Solved Threads: 344
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Lazy, Useless & Apathetic

Re: urgent plz????????

  #2  
Dec 23rd, 2006
Something like this or this ?
I don't accept change. I don't deserve to live.

Happiness corrupts people.

Failing to value the lives of others cheapens your own.
Reply With Quote  
Join Date: Oct 2006
Posts: 8
Reputation: **UM HASSAN** is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
**UM HASSAN** **UM HASSAN** is offline Offline
Newbie Poster

Re: urgent plz????????

  #3  
Dec 23rd, 2006
thx..

but idon't want to create a media player , i want only the way of using the media player control ..

as i said above i want a video to start only when clicking on a certain button. i don't want it to start automatically when the form is loaded
Reply With Quote  
Join Date: Dec 2002
Location: West Virginia
Posts: 388
Reputation: waynespangler is on a distinguished road 
Rep Power: 6
Solved Threads: 40
waynespangler waynespangler is offline Offline
Posting Whiz

Re: urgent plz????????

  #4  
Dec 23rd, 2006
Add the windows media player control to your form. Set the visible property to false so you can't see the control. In the button click add the following code.
        Me.AxWindowsMediaPlayer1.URL = "C:\Documents and Settings\wayne1\My Documents\My Music\The Beatles\Abbey Road\03 Maxwell's Silver Hammer.wma"
Change the file name to one of yours.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb VB.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 9:04 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC