Results 1 to 6 of 6

Thread: Error creating window handle?

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    Error creating window handle?

    VB Code:
    1. Public Class Form1
    2.     Inherits System.Windows.Forms.Form
    3.  
    4.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    5.  
    6.     End Sub
    7.  
    8.     Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
    9.  
    10.     End Sub
    11. End Class

    An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll

    Additional information: Error creating window handle.

  2. #2

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    strange as i even dont have anycode but anyways he retrieves me an errorr...*** am i doin wrong?

  3. #3

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    anyone..?

  4. #4

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    .

  5. #5
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    Shouldn't you call the base classes WndProc, because if you leave it empty, the window doesn't have a functional window procedure.

  6. #6

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    omg i was just testing, first tested with code and as i got error tryed without code to see if there was a problem with code and got the same error...

Posting Permissions

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



Click Here to Expand Forum to Full Width