VS 2010 Make A Music Player That Will Play A Song In The .exe Format

Oct 1, 2010

What i want to do is make a music player that will play a song in the .exe format, so an app will open and automatically play a song. This is to prevent ripping and copyright issues. I made a app using the WMP Com Component but that of course requires the file to be opened.

View 2 Replies


ADVERTISEMENT

Cannot Make The Media Player Play The Next Song In A List Box

May 18, 2010

Im making a media player and have a listbox and a player so I need to make the media player play the next song in the list box btw I have a list of strings named fullfilepaths because the listbox displays name and duration

heres the code:

Private Sub AxWindowsMediaPlayer1_PlayStateChange(ByVal sender
As Object,
ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent)

[code]....

View 5 Replies

Make The Windows Media Player Element In VB Play The Next Song After The Current One Is Done?

Dec 21, 2009

How would I make the Windows Media Player element in visual basic play the next song after the current one is done. I know you can do it with a playlist but how would I do it with out any kind of list boxes or stuff like that. To browse for the files i use a open file dialog.

View 9 Replies

Media Player Play Next Song

Aug 6, 2011

Im working on a media player for my work. It is suppose to be a song randomizer. I do have this mostly working. My issue is getting it to correctly switch songs when one ends. I just dont know why it is half working and half not. So my issue, after much debugging, which i have kept in my code i will post, i have found that when the song changes, the song does change, the index in the listbox goes up one and the 2nd song starts playing. I should note that i do have the code for playing the next song.

View 1 Replies

Click The The Song To Play, Even The Play Song Finish But Does't Play Automatically?

May 8, 2010

I want to the song can auto start one by one when import the song to list box. But it doesn't work that I need to select one by one. Besides, the program can repeat all the song or individual song when checkbox enable.

If AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsMediaEnded Then
If playlistbox.SelectedIndex < playlistbox.Items.Count - 1 Then

[code].....

View 4 Replies

VS 2010 Looping Music - Way For The Song To Be Looped?

Dec 9, 2011

I started a thread about playing music. It works perfectly, but I wanted to know if there is a way for the song to be looped. I'm making an alarm clock, and if the user chose a short song, it plays once and then stops. I just wanted to know if there was a way to loop using the mciSendString.

View 9 Replies

Make MP3 Player With Listview - How To Get Song Length

Jul 28, 2010

I'm trying to make MP3 player with listview but I have some problems what I cant figure out.

First problem is that when I import files then every song should get number. Its like play list up to down with number 1,2,3,4,5 etc. I tryed to google but I didn't find anything useful. Mabye because I don't know how to name that.

Second problem is that I don't know how to get song length.

Third problem : when I play a song I want that it add +1 for Times Played , but I don't know how to add it parallel with right song.

I'm using AxWindowsMediaPlayer to make this.

View 14 Replies

Audio Playback - Make The Shuffle Never Play The Same Song Twice

Mar 21, 2011

Basically my program has a "shuffle" music feature:

vb For i = 0 To 26 num = randomObject.Next(0, 27) My.Computer.Audio.Play("C:UsersMcturtlesMusicSongs" & num & ".wav", AudioPlayMode.BackgroundLoop) Next

Which selects a random number 0 - 26 and selects the corresponding song.

And a straight play feature:

vb Dim counter As Integer Do Until counter > 26 My.Computer.Audio.Play("C:usersmcturtlesmusicsongs" & counter & ".wav", AudioPlayMode.WaitToComplete) counter += 1 Loop

All of these activated by a button(separate for each)

When I click one, it makes the program stop responding. I'm pretty sure it is the .WaitToComplete mode, but I can't find a way to make it continuously play without it. If you can find my error. Also if you could tell me a way to make the shuffle never play the same song twice, that would be awesome as well.

View 2 Replies

VS 2008 Play The Next Song From My Listbox When The Current Song Is Finished?

Jun 10, 2009

I want to play the next song from my listbox when the current song is finished. This is what I've tried:

If AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsMediaEnded Then
ListBox1.SelectedIndex += 1
AxWindowsMediaPlayer1.URL = ListBox1.SelectedItem
AxWindowsMediaPlayer1.Ctlcontrols.play()
End If

It changes the index of the listbox, but it doesn't play the new file. The file exist and there's no problem playing it the normal way.

View 1 Replies

VS 2010 - Play Next Song Automatically?

Apr 18, 2011

Q1: how to play next song automatically? Q2: I dont want to fullname of Song like : d:mp3asshunter - dota125.mp3 (Only Basshunter - dota125 or Basshunter - dota125.mp3)but i need fullname of file to play song cuz my play button code Player.URL = ListBox1.SelectedItem

Q3: About my trackposition bar (name:trackbar2) song moves (back or forward) when i moved trackbar2 scroll (it's ok no problem)but trackbar2 scroll doesn't automatically move.

[code]...

View 5 Replies

Make Music Player With VB 2008?

Jul 20, 2009

this is my first post. I just recently got vb and wish to learn a lot about it but I have no references...(book, good tutorial etc) I have always wanted to make applications for computers ever since I got on one 5-6 years ago. (I know you need code but I have no idea where to start. But, I am a fast learner.)

[Code]...

View 6 Replies

Auto-play Mp3 Song After Each Song Finishes?

Jun 23, 2009

I am creating a mp3 player through VB.Net I have kept a Listbox that shows the play list. I have created the player such that it when ever the user cicks on the selection on listbox the player play the corresponding song. so the user has to click on the next song to play the next song once the previous song is finished.Now I would like to know is it possible for the player to automatically play the next song once the previous song is finished? If so how do I go about doing this on VB.Net?

View 8 Replies

Song In List Box And First Song Ended It Would Play Next

May 12, 2010

I made a media player and wanted to make it so if there is more than one Song in the list box and the first song ended it would play the next and so on..[code]

View 8 Replies

VS 2008 WMP Control - Make The Music Play Through It Loop

Jun 15, 2009

I added the WMP control to my project, but I can't figure out how to make the music I play through it loop!

View 1 Replies

VS 2010 Getting Current Windows Media Player Song?

Feb 2, 2011

I was wondering if it was possible to use Visual Basic .NET and perhaps the WMP Interop DLL to get the active song from Windows Media Player, and maybe the playlist that's currently on it? I did a quick Google search and found a bunch of jargon that wasn't related (such as making my own MP3 player using WMP Interop

View 5 Replies

Make A Gravity Application (with Speed Readings/music Player) For The Car?

Jun 3, 2012

I'm trying to make a gravity application (with speed readings/music player) for in the car.So I've found some sample code to create an event handler in C#, except I don't know any C#. This is the code to add an eventhandler:

motion.CurrentValueChanged += new EventHandler<SensorReadingEventArgs<MotionReading>>(motion_CurrentValueChanged);

How do I do this in VB.NET? as there is no CurrentValueChanged...

View 8 Replies

Music Studio - Real Music Video Where Can Play Many Sound At Any Time

Nov 1, 2011

Hey guys, I'm a new guy in VB.NET. I am proposing my final year project a title called music studio. My version of music studio is like real music video where we can play many sound at any time. For example, the application that I want to build can create many button and also add an audio along with it. And then, when we hit the 1st button, it play 1st audio. while 1st audio play, we also can hit 2nd button and 2nd audio is playing. for example, 1st audio is sound of man walking, and then 2nd audio is the sound of glass break. lastly 3rd sound sound of police siren play. Is it cool? so, my question is, is it possible the I can build an application by using VB.NET?

View 6 Replies

VB 2010 - Load Pictures And Play Music File?

Nov 2, 2011

Visual Basic 2010 Windows Forms Application I am trying to create an application that will allow a user to choose from a menu option in ListBox, click "Play" button, and the application will play music, and transition between 3 pictures.

View 4 Replies

VS 2010 Put Music/sounds Inside Program And Play Them?

Sep 20, 2010

I am wanting to simply insert a sound/music file into my program, and perhaps make a button function to make it play?

View 5 Replies

VS 2010 : Play A WMV File Without Using A Windows Media Player Control?

Nov 12, 2011

I want to play a WMV file without using a Windows Media Player Control.

View 39 Replies

Shell - Media Player Play File Error - Refuses To Play

Sep 16, 2010

Im trying to open media player (full screen) and play a movie. When i create the file path like so: Dim MoviePathVTS As String = String.Concat("""" + tempMoviePath, " \VIDEO_TS\VTS_01_1.VOB" + """")

It wont play the file but if i do it like this: Dim video1 = """F:\Movies\DvD\Angels and Deamons\VIDEO_TS\VTS_01_1.VOB"""

It plays fine? the file paths are the same including the extra "" but it just refuses to play. I need the top one because i have many movies in a treeview.

Heres my code

Private Sub watchNow_Click(ByVal sender As Object, ByVal e As EventArgs)

'get the position of the selected node
Dim i = movieTreeView.SelectedNode.Index

[CODE]...

View 2 Replies

Indows Media Player Doesn't Play The FLV Player?

Apr 10, 2009

I want to know that how to add FLV payer component in VB.Net..cz windows Media Player doesn't play the FLV player.

View 2 Replies

How To Play A Song

Jun 27, 2010

want to play a song when i click a button.... it s possible means, pls give an overview or give link to video tutorial

View 1 Replies

Play A Song File?

Sep 26, 2010

What can I do to write a code to play a song file?

View 5 Replies

WMP Selected Song Play

Mar 5, 2011

I'm working on a music player. I select an item (song) in my listbox and press the play button, it plays. Then I click onto another item and press play but instead of playing that song, it plays the first song. The next song (and last) song buttons work (they also work in this situation and still change the song to the next in the list after the first song).So basically, I press play on on item/song and it plays then when I press the play button for the second time on a different item/song, the first song plays and it keeps on doing that on every song I select and play.[code]

View 9 Replies

Track Song In Media Player?

Jul 31, 2009

How can i track songs position via track bar, like the one in media player control?

vvv Timer Code vvv
TrackBar1.TickFrequency = Player1.Ctlcontrols.currentItem.duration
TrackBar1.Value = Player1.Ctlcontrols.currentPosition

View 14 Replies

Visible Song Duration For MP3 Player

Feb 11, 2010

I made an mp3 player for fun, and I want to add a box that shows the current time of the song and will continuously update every second while playing. I wrote a do loop that while the song is playing will get the current time put it into a listbox or textbox, then sleep for 1 second and then loop again. Using a textbox it will put the first time in, using a listbox while the song is playing the vertical scroll bar keeps shrinking so it seems as if it is putting all of the times there but I don't see anything at all but a blank listbox.

View 2 Replies

AxWindowsMediaPlayer Auto Play Next Song From Playlist

Feb 27, 2011

AxWindowsMediaPlayer auto play next song from playlist

View 1 Replies

AxWindowsMediaPlayer1 Play Automaticaly The Next Song In Listbox?

Aug 3, 2010

I had make a web radio player application but i want also my application to work like .mp3 player so i make

a new form (the code is below) my listbox work fine also the AxWindowsMediaPlayer1. But i don't know how i can set the AxWindowsMediaPlayer1 to play the next track in listbox.

[Code]...

View 9 Replies

Write The Simplest Program That Will Play A Song For 1 Second?

Aug 21, 2011

I have no programming experience at all, although did learn basic at school 30 years ago how it's changed Anyway I am trying to write the simplest program that will play a song for 1 second.The reason is that me and my friends are Jam fans and we want a contest to see who can name the song with just a second of it playing (at any part in the song).

I have managed to to get the song to load and play but I only want it to play for 1 second before it stops.I can do the rest of the coding from there but I just can't get it to play for 1 second. I have a form with a button to start it off and this is all i have so far

[Code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved