You can drag as many as you like onto your Form
Click any one and ENTER = "cnsuser" as the PASSCODE
Get Track for Button and select in the List
Right Click Button to Play
it does not display any WindowsMediaPlayer or screen and only plays the track selected on each button
**You only have to add the PASSCODE once
Dll file below
Have Fun
*** The Pause button does not pause ( it stops the track ) :?
Chris
Re: Media Button Test
Posted: Thu Mar 17, 2011 9:51 pm
by CodenStuff
Hello hungryhounduk,
I would normally rate/leave reps rather than replying because I dont want to leave pointless replys lol. The only reason im replying is because when I first tried it I got an exception about the mediaplayer dll's and I think it was just my visual studio acting up on me but I thought I should mention it just incase.
It worked after a VS restart and worked great ;) . Please continue making more custom controls because they come in handy cooll;
Re: Media Button Test
Posted: Fri Mar 18, 2011 7:49 am
by hungryhounduk
Hey Cody
I was gonna include the other files that were in the debug folder, but maybe that is the problem?
But i am glad it worked after a restart
Usercontrols make life a lot lot easier and they are fully reusable = Love It
Chris
Re: Media Button Test
Posted: Fri Mar 18, 2011 8:38 am
by Usman55
Hungry, can I please have an example application using this button?
Re: Media Button Test
Posted: Sat Mar 19, 2011 8:23 am
by hungryhounduk
eer Example Application??
You could use your Own Imagination or use it to put on a Form/Background and use the Button to play Sound or Music Track...
Chris
Re: Media Button Test
Posted: Mon Jul 11, 2011 3:29 pm
by RonaldHarvey
Hi hungryhounduk,
Thanks for your good application. I am still learning dll hope soon I will.
God bless wahooo; cooll; clapper;