Hosting windows form in IE browser

T

Toby

Hi,
I have a specific problem hosting a windows form control in IE.
First i have created a user control and hosted it - everything worked
great.
But when a tried to host a 'Form' control instead it didn't work and i
got the following exception:
' Top-level Windows Forms control cannot be exposed as an ActiveX
control'.

Anyone knows this problem?

Thanks in advance,
Dana.
 
G

Guest

Forms have a TopLevel property which you can set to false. Give it a try in
the forms constructor
 

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

Top