+ Reply to Thread
Results 1 to 2 of 2

Thread: System.ComponentModel.Win32Exception: The parameter is incorrect

  1. #1
    depaa is offline VB.NET Forum Newbie depaa is on a distinguished programming path ahead
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Jan 2009
    Posts
    5
    Reputation
    0

    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)

  2. #2
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute jmcilhinney has a reputation beyond repute
    .NET Framework
    .NET 3.5 (VS 2008)
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Age
    41
    Posts
    6,907
    Reputation
    670

    Default

    Does it happen for all TabPages on that TabControl? If not, what's on the TabPage that it does happen for?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts