Windows.Forms.Control as ActiveX in asp.net page shows as broken image

V

Vincent Mouton

Hi,

I am having trouble integrating a System.Windows.Forms.Control into an
asp.net page.
I based my tryout on the sample provided in the quickstart tutorials
(http://samples.gotdotnet.com/QuickStart/winforms/default.aspx?url=/quicksta
rt/winforms/doc/WinFormsIeSourcing.aspx).

When implementing the control like this:

<object height="100" width="100"
classid="MyWindowsControls.dll#MyWindowsControls.SimpleControl"></object>

it shows up in the browser as a broken image.
I tried adding http: to the classid attribute, that didn't help.
I tried to base my Control on the Control class and the UserControl class
but that didn't help.

The directory is configured as an application, and the execute permissions
are set to scripts only.

I have my IE security settings set to enable or prompt, depending on the
source or nature of an ActiveX control.

I browse to the page holding the control with http://localhost

Thank you in advance for any advice or resource that could give me a
direction to follow.
Vincent

(WinXP Pro, IE 6.0.2800, NET 1.1)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top