Not-noobish media player :)

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
8 posts Page 1 of 1
Contributors
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Not-noobish media player :)
Axel
i saw theres no tutorial about this :P
Hi , if someone wonders, theres a better trick than hiding the windows media player controls with a panel or something , theres a better method

So you add the control(Toolbox=>rightclick=>Add=>Com=>Windows Media Player) to your form and on the form_load event you add this code
Code: Select all
MediaPlayer.uimode = "none"
then you'll get something like this
Capture.PNG
You do not have the required permissions to view the files attached to this post.
http://vagex.com/?ref=25000
User avatar
dj1437
VIP - Donator
VIP - Donator
Posts: 504
Joined: Tue Dec 21, 2010 2:02 am

Re: Not-noobish media player :)
dj1437
or you can just right click the axwindowsmediaplayer and go to Properties and select the none style :P
This is a signature.
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Not-noobish media player :)
Axel
dj1437 wrote:
or you can just right click the axwindowsmediaplayer and go to Properties and select the none style :P
thats what I forgot to mention, I tried to change that in properties but the property dissapears when debugging/building
http://vagex.com/?ref=25000
User avatar
Runar
VIP - Donator
VIP - Donator
Posts: 28
Joined: Thu Jan 20, 2011 11:18 pm

Re: Not-noobish media player :)
Runar
I made a simple media player just to test this.

Source:
Medi4.zip
You do not have the required permissions to view the files attached to this post.
Copyrighted © 2011 RunarM.
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Not-noobish media player :)
Usman55
By using this and disabling contextmenu, we can make it look as a non-wmp media player.
Image
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

Re: Not-noobish media player :)
GoodGuy17
I remember talking about this with someone, just can't remember who...
But, Runar, how did you make the listbox do that? Was it a flash animation, and after the flash animation finished, it showed the listbox and unshowed the flash animation? Or how did you do that? It was a perfect execution of the trick shown here. Nice tip, Axel! cooll;
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Not-noobish media player :)
MrAksel
GoodGuy17, i guess he used a timer to first increase the widht, then the height and then the rest of it
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
jtlusco
VIP - Donator
VIP - Donator
Posts: 138
Joined: Mon Jul 12, 2010 11:28 pm

Re: Not-noobish media player :)
jtlusco
iv used this method before but the controls came back when i ran the program i never found out if it was a windows 7 thing or what but yeah thats soposed to work lol
Have you been scripted today
Image
8 posts Page 1 of 1
Return to “Tutorials”