Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > Visual Studio 2008
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 16th, 2009, 07:24 AM
Registered User
 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how do i get the next song to play after the last song has finished in vb08?

hi i need help I'm making a media player and i cant get the next song to play in a list i9t goes down and highlights the next song but it doesn't play it here is a copy of the code snippet

Private Sub AxWindowsMediaPlayer1_PlayStateChange(ByVal sender As_ Object, ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent)_ Handles AxWindowsMediaPlayer1.PlayStateChange

If AxWindowsMediaPlayer1.playState =_ WMPLib.WMPPlayState.wmppsMediaEnded Then

If imglist.SelectedIndex < imglist.Items.Count - 1 Then
imglist.SelectedIndex = imglist.SelectedIndex + 1
Else

imglist.SelectedIndex = 0

End If

End If
AxWindowsMediaPlayer1.Ctlcontrols.playnextitem()
End Sub

any help would be appreciated thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
play multiple song using embeded media player kumiko Javascript 0 September 10th, 2008 11:10 AM
E-mail notification when backup finished??? RinoDM SQL Server 2005 2 April 26th, 2007 10:42 AM
'song' is undefined Apocolypse2005 Javascript 2 June 26th, 2006 06:14 AM
Page song want to play continually surendran HTML Code Clinic 1 February 18th, 2005 10:03 AM



All times are GMT -4. The time now is 07:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.