Hosting windows form in IE browser

  • Thread starter Thread starter Toby
  • Start date Start date
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.
 
Forms have a TopLevel property which you can set to false. Give it a try in
the forms constructor
 
Back
Top