我用VB自制了播放器(ActiveX),如何从网页中将参数(语音文件)传送给ActiveX控件?在线等待!!!

解决方案 »

  1.   

    Implement IPersistPropertyBag in your activex control.
    When IE loads this HTML page, it calls CoCreateInstance() to manufacture an instance of the class listed in the <object> tag. Then IE calls QueryInterface() to get IPersistPropertyBag. If the object doesn't support IPersistPropertyBag, the name-value pairs listed in the <param> tags aren't loaded.
      

  2.   

    1. Title: Q197921 HOWTO: Change WebBrowser Properties Stored in Property Bag
    URL: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q1979212.SAMPLE: MimeType.exe Makes ActiveX Object Default MIME Type Player (Q165072)
    http://support.microsoft.com/default.aspx?scid=kb;en-us;Q165072希望对你有所帮助!- 微软全球技术中心 VC技术支持
     
    本贴子以“现状”提供且没有任何担保,同时也没有授予任何权利。具体事项可参见使用条款
    (http://support.microsoft.com/directory/worldwide/zh-cn/community/terms_chs.asp)。
    为了为您创建更好的讨论环境,请参加我们的用户满意度调查
    (http://support.microsoft.com/directory/worldwide/zh-cn/community/survey.asp?key=(S,49854782))。