ผมเรียกใช้งานโดย
WindowsMediaPlayer1.URL = "http://127.0.0.1:8000"
อยากทราบว่า ถ้าจะทำการ Show ชื่อเพลง ชื่อ Title ต่างๆ ทำยังไง ครับ
ช่วยชี้แนะด้วย ขอบคุณครับ
ผมเรียกใช้งานโดย
WindowsMediaPlayer1.URL = "http://127.0.0.1:8000"
อยากทราบว่า ถ้าจะทำการ Show ชื่อเพลง ชื่อ Title ต่างๆ ทำยังไง ครับ
ช่วยชี้แนะด้วย ขอบคุณครับ
พิมพ์
WindowsMediaPlayer1 แล้วตามด้วย “จุด”
WindowsMediaPlayer1.
มันจะขึ้น popup ตัวแปรมาให้ครับ ที่เหลือก็ลองเลื่อนๆ หาดูว่าตัวไหนใช่ตัวไหนไม่ใช่
อะครับ มันจะมีผลต่อแค่พวกไฟร์ อะครับ คิดว่านะแต่ แต่เวลาเรียกใช้งาน ผ่าน URL Port Radio - - ไม่รู้จะทำให้มันแสดงยังไง ครับ
คือจะทำให้มันเห็นเพลงที่เล่นอยู่ปัจบัน อะครับเพราะลอง
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“Name”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“author”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“Title”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“Album”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“copyright”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“Artist”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“Genre”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“Abstract”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“bitRate”)
MsgBox WindowsMediaPlayer1.currentMedia.getItemInfo(“duration”)
ไม่มีอันไหนที่โชว์ชื่อเพลงเลย