View Single Post
  #1 (permalink)  
Old 04-28-2009, 1:06 AM
depaa depaa is offline
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Jan 2009
Posts: 5
Reputation: 0
depaa is on a distinguished programming path ahead
Default System.ComponentModel.Win32Exception: The parameter is incorrect

Hi everyone,
on click of a tabcontrol in a Windows form the following Exception occurs .
please help me. Thanks in advance..

System.ComponentModel.Win32Exception: The parameter is incorrect at System.Windows.Forms.NativeWindow.WindowClass.Regi sterClass()
at System.Windows.Forms.NativeWindow.WindowClass.Crea te(String className, Int32 classStyle)
at System.Windows.Forms.NativeWindow.CreateHandle(Cre ateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)
at System.Windows.Forms.TabPage.set_Visible(Boolean value)
at System.Windows.Forms.TabControl.UpdateTabSelection (Boolean updateFocus)
at System.Windows.Forms.TabControl.OnSelectedIndexCha nged(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Reply With Quote