WinForms Control in a web page

  • Thread starter Thread starter Robert
  • Start date Start date
R

Robert

I'm trying to use a WinForms control in a web page and am
having some difficulty. Perhaps someone here will know
what I'm doing incorrectly...

1. I created a WinForms control and tested it in a WinForm
and it works as expected.
2. I added the dll as a reference on my web form.
3. I embedded an object tag like:
<object id="objPromoDesc"
classid="http://localhost/WebApplication1/bin/MyControl.dll
#MyNamespace.MyClass" width="528" height="72"
VIEWASTEXT></object>

4. I set the virtual directory (and bin subdir) with
execution permissions on "scripts".

No errors occur, but the control doesn't render properly.
Any ideas or steps I missed?

Thanks in advance!
 
Back
Top