rotis
October 23rd, 2003, 06:52 PM
I have a .NET windows form control (derived from UserControl) that I want downloaded from an ASP.NET page and executed on the client. The page uses the following HTML syntax:
<BODY>
<FORM id=formLaunchClient method=post>
<OBJECT id=MyControl
height=0 width=0
classid=http:MyControl.dll#MyNameSpace.MyControlClass
</object>
'MyControl' is located in the same folder as the aspx file.
The control is simply putting up a message box in its constructor.
This appears to work on my local machine from internet explorer with a URL to the web page on the localhost site.
It does not work when I try to browse a site on another server.
What am I doing wrong?
<BODY>
<FORM id=formLaunchClient method=post>
<OBJECT id=MyControl
height=0 width=0
classid=http:MyControl.dll#MyNameSpace.MyControlClass
</object>
'MyControl' is located in the same folder as the aspx file.
The control is simply putting up a message box in its constructor.
This appears to work on my local machine from internet explorer with a URL to the web page on the localhost site.
It does not work when I try to browse a site on another server.
What am I doing wrong?