| | |
media player object
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Aug 2005
Posts: 2
Reputation:
Solved Threads: 0
hi!
i am trying to change the title of a media player object:
Private Sub stam()
Dim wm As New WindowsMediaPlayer
wm.URL = "C:\Documents and Settings\All Users\Documents\My Music\Sample Music\New Stories (Highway Blues).mpg"
MsgBox wm.currentPlaylist.getItemInfo("title")
wm.setItemInfo("title" ,"hello")
End Sub
the getitemifo works well, but not the setiteminfo
i get a messege: "compiler error expected ="
why?
i am trying to change the title of a media player object:
Private Sub stam()
Dim wm As New WindowsMediaPlayer
wm.URL = "C:\Documents and Settings\All Users\Documents\My Music\Sample Music\New Stories (Highway Blues).mpg"
MsgBox wm.currentPlaylist.getItemInfo("title")
wm.setItemInfo("title" ,"hello")
End Sub
the getitemifo works well, but not the setiteminfo
i get a messege: "compiler error expected ="
why?
•
•
•
•
iPrivate Sub stam()
Dim wm As New WindowsMediaPlayer
wm.URL = "C:\Documents and Settings\All Users\Documents\My Music\Sample Music\New Stories (Highway Blues).mpg"
MsgBox wm.currentPlaylist.getItemInfo("title")
wm.setItemInfo("title" ,"hello")
End Sub
why?
and can i ask how to create a media player in the vb6 or can i borrow a sample of ur project coz i want to learn how to make it and how to upload a music in my project
![]() |
Similar Threads
- media player f**k-up (Windows NT / 2000 / XP)
- Windows Media Player 10 ... No sound on DVD's (Windows NT / 2000 / XP)
- Windows Media Player 7.1 (Windows 95 / 98 / Me)
- Windows media player (Windows NT / 2000 / XP)
- Windows media player, internal error has occur... (Viruses, Spyware and other Nasties)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: VB6 - Create mew table using input from two other tables
- Next Thread: need help in game
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





