| View previous topic :: View next topic |
| Author |
Message |
odelya Newbie
Joined: 09 Aug 2005 Posts: 1
|
Posted: Aug 9th, 2005 11:48 AM Post subject: media player |
|
|
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? |
|
| Back to top |
|
dougthomas Moderator
Joined: 27 Jul 2005 Posts: 271 Location: Essex, UK
|
Posted: Aug 21st, 2005 04:24 AM Post subject: |
|
|
Hi,
Try it without the brackets
ie
wm.SetItemInfo "title", "hello"
Regards
Doug |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|