Music Concept
Well, after sharing my little secret on how to add music and video with ease, i decided to add some background music into my program. to do this i need a form that will always be “hiden” i.e: always at the back of any other form. after this i can use my web browser to play music from a specific file that will naturally loop throughout the whole program.
This the implementation of background music i thought that it would be appropriate to include a mute and unmute button in my side bar menu; meaning an extra 2 functionality buttons!
in order to achieve a mute and unmute button, instead of actually doing what it says to do, because my music is within a web browser, if i change the url of the web browser, then the music would “stop” and if i re assign the url back to the music’s file path, it would seem to continue playing the music.. a much easier solution compared to actually using the difficult coding of changing the computers master volume!
another genuis short cut when using a web browser!
———— code————-
Private Sub mutevolume_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
musicbackgroundweb.musicmaker.Navigate(navmute)
End Sub
Private Sub about_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
about.ClickAboutfbiic.Show()
End Sub
Music/Video Concept – A way around Windows Media PLayer
Well, im going to share a little secret that i have been brewing up for some time now; a way around the hassles and limits of the Windows Media Player Control!
With the help of flash, you can change any media format into a .swf file: e.g: i have a .avi movie, i want to change it into a .swf file, simply import video into a flash project, change some frame rates and other options you want, and then export out as a .swf file
But what does a .swf file mean to me in vb??
it means that YOU as a programmer dont need to use windows media player any more to play movies!
All you need now is a simple web browser! a control that requires no code to get your movie (in a .swf format) playing in your vb.net application!
With my home brew genius concept, i decided to PUT this into PRACTISE, and achieved the ability to easily add mp3 music, and video to any of my forms with easeeeee!