[Mono-bugs] [Bug 332409] New: SendKeys unhandled exception if no active control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 9 21:35:08 EDT 2007


           Summary: SendKeys unhandled exception if no active control
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: equistango at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

The following code

Form a = new Form();

will cause the following exception:

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at System.Windows.Forms.SendKeys.SendInput () [0x00015] in
  at System.Windows.Forms.SendKeys.Send (System.String keys) [0x00006] in
  at System.Windows.Forms.SendKeys.SendWait (System.String keys) [0x0000c] in
  at Program.Main () [0x00000]

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list