Create object WMPlayer.OCX issue
问题 I am using following code in my HTML page but it is returning NULL. (IE8 , MS WIndows 7 Pro) Set Sound = CreateObject("WMPlayer.OCX") I am sure Windows Media Player is installed and working fine. How to fix it? 回答1: It seems like is impossible to use Visual Basic code like I use in HTML. Instead of it we have to use Windows Media Player in DOM like this <body onload='' scroll="no"> <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer" width="0" height="0"> <