cdoverlaw Posted October 28, 2003 Author Posted October 28, 2003 Well i have worked that out, but now i need help with the media player control itself, how do i make the control go full screen (like you can by right clicking on it and going to zoon -> fullscreen Jonathan Quote
samsmithnz Posted October 28, 2003 Posted October 28, 2003 I posted because there was so much vague crap on the first page. is this a .net component? I'm guessing something like: mediaplayercontrol.Fullsize() or mediaplayercontrol.Fullsize = true, but you really do need to learn how to use MSDN, you'll never get anywhere without it. Quote Thanks Sam http://www.samsmith.co.nz
cdoverlaw Posted October 28, 2003 Author Posted October 28, 2003 okay, i tried the MediaPlayer.Fullsize = true annd i get this error C:\Documents and Settings\Jonathan.N-FORCE\My Documents\Visual Studio Projects\docked sidebar\XPEBarTest\frmMediaPlayer.vb(140): 'Fullsize' is not a member of 'AxWMPLib.AxWindowsMediaPlayer'. Quote
samsmithnz Posted October 28, 2003 Posted October 28, 2003 okay, i tried the MediaPlayer.Fullsize = true annd i get this error I was just taking a guess. It means thats not the real way to do it. Quote Thanks Sam http://www.samsmith.co.nz
samsmithnz Posted October 28, 2003 Posted October 28, 2003 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/playerobject.asp Quote Thanks Sam http://www.samsmith.co.nz
cdoverlaw Posted October 28, 2003 Author Posted October 28, 2003 Thanks, i have been looking for a page that will tell me all the stuff bout the windows media player 9 control Jonathan Quote
cdoverlaw Posted October 28, 2003 Author Posted October 28, 2003 But how do i get the media player 9 control to repeat playing the file like the repeat in normal windows media player 9 Quote
samsmithnz Posted October 28, 2003 Posted October 28, 2003 Its actually quite logical. the last link displas all the objects and properties available to the Media Player. By clicking on some of the links (it took bme 30 seconds), I found that the player object has a settings object, and one of the settings is loop. Quote Thanks Sam http://www.samsmith.co.nz
cdoverlaw Posted October 28, 2003 Author Posted October 28, 2003 Ok, i worked out the code Private Sub MenuItem14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem14.Click MediaPlayer.settings.setMode(Loop, True) End Sub but i get the error C:\Documents and Settings\Jonathan.N-FORCE\My Documents\Visual Studio Projects\docked sidebar\XPEBarTest\frmMediaPlayer.vb(254): Expression expected. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/settingssetmode.asp is where i got the code from Quote
Administrators PlausiblyDamp Posted October 28, 2003 Administrators Posted October 28, 2003 try MediaPlayer.settings.setMode("loop", True) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
bri189a Posted October 29, 2003 Posted October 29, 2003 Here some general advice for you new comers to programming: Read the help files! Let's not clutter up the board with all of these first week of a programming class questions! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.