{ Learn Code. Share Code. Teach Code. Love Code. }

  • Media Button Test

  • Any DLLs you have made to do various things and aid in project development then please post in here.
Any DLLs you have made to do various things and aid in project development then please post in here.
 #39319  by hungryhounduk
 Thu Mar 17, 2011 8:05 pm
Image

Hey

This is the Media Button

Its a UserControl

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
You do not have the required permissions to view the files attached to this post.
 #39343  by CodenStuff
 Thu Mar 17, 2011 9:51 pm
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;
 #39395  by hungryhounduk
 Fri Mar 18, 2011 7:49 am
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
 #39398  by Usman55
 Fri Mar 18, 2011 8:38 am
Hungry, can I please have an example application using this button?
 #39511  by hungryhounduk
 Sat Mar 19, 2011 8:23 am
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
 #48256  by RonaldHarvey
 Mon Jul 11, 2011 3:29 pm
Hi hungryhounduk,

Thanks for your good application. I am still learning dll hope soon I will.
God bless wahooo; cooll; clapper;