[newbie] strange window error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

when I run my program, I receive the following error:

System.ComponentModel.Win32Exception: Error creating window handle.
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Control.Show()

What's the reason of this error? How can I prevent it?

Thanks
Peter
 
I am also getting this error. It happens when I add a control to a panel at
runtime. Did you ever resolve this?
 
Back
Top