none
How to deploy a c# activex control on the Website? RRS feed

  • 问题

  • Hi all:

    I write a file brower tool as ACTIVEX control, and i want to deploy it at my Web. How to deploy it at my Web. I searched some ways under Google, but all of the way don't work usually. I can put it into my web with debug model. When i deploy my web at server PC, my activex tool can't display on it.

    Please tell me a way to depoly activex control( C# with vs 2005) on the Web site.

     

    Thanks!

    2008年9月26日 2:51

答案

  • 编译成ctrl.dll,然后  
      <object   id="ctrl"   classid="http:ctrl.dll#temp.ctrl"   VIEWASTEXT> </object>  
      http:ctrl.dll是dll路径  
      temp是命名空间  
      ctrl是引用的类 


    详细参见

    http://9host.cn/asp.net/2007430223341.html
    2008年9月26日 3:21
    版主
  • You can see some limitations about this method from below url

    http://support.microsoft.com/kb/317346/EN-US/



    2008年9月26日 4:23
    版主

全部回复

  • 编译成ctrl.dll,然后  
      <object   id="ctrl"   classid="http:ctrl.dll#temp.ctrl"   VIEWASTEXT> </object>  
      http:ctrl.dll是dll路径  
      temp是命名空间  
      ctrl是引用的类 


    详细参见

    http://9host.cn/asp.net/2007430223341.html
    2008年9月26日 3:21
    版主
  • Thanks your help! I had uesed it, the result is failedSad. I also make a *.msi file, and add code "codebase=...." into 'object' element, but the IE 7 block it with "unknow publisher" error message. In terms of this error message, i set some items 'prompt' in the menu of IE tools and sign it with "signtools.exe" tool under \\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin. It still doesn't work now.

    2008年9月26日 3:32
  • You can see some limitations about this method from below url

    http://support.microsoft.com/kb/317346/EN-US/



    2008年9月26日 4:23
    版主