John

John

  • NA
  • 17
  • 0

activex control in mdi child form

Jan 22 2011 12:38 AM

trying to write an app consisting of MDI parent where the child forms are:
-  created with the Microsoft Terminal Services Control
- connected to remote server (from a listbox)
I can get it to work in a SDI, however whenever I try to spawn the child window in MDI format  I get:
System.InvalidOperationException was unhandled
  Message="Unable to get the window handle for the 'AxMsTscAxNotSafeForScripting' control. Windowless ActiveX controls are not supported."
  Source="System.Windows.Forms"
any ideas out there?