[Mono-winforms-list] application crashes on pressing ALT, Arrow keys

Jijesh incubator125 at hotmail.com
Fri Jul 24 04:02:21 EDT 2009


Thanks stifu ..downloaded mono 2.4x and installed my application..Its working
fine now..




Stifu wrote:
> 
> There have been 2 major releases since Mono 2.0, so this bug may well
> already be fixed. Could you check with 2.4.x, or post the application so
> we can try?
> 
> 
> Jijesh wrote:
>> 
>> Hi Everyone.
>> 
>> I have developed a small dataentry winforms application in c#. But the
>> application is getting closed while pressing Arrow keys just after
>> pressing ALT key in text boxes. It is not happening if we press any keys
>> other than ALT. I am  getting the following exception as well:
>> 
>> Unhandled Exception: System.NullReferenceException: Object reference not
>> set to an instance of an object
>>   at System.Windows.Forms.MenuTracker.ProcessKeys
>> (System.Windows.Forms.Message& msg, Keys keyData) [0x00000] 
>>   at System.Windows.Forms.Menu.ProcessCmdKey
>> (System.Windows.Forms.Message& msg, Keys keyData) [0x00000] 
>>   at System.Windows.Forms.Control.ProcessCmdKey
>> (System.Windows.Forms.Message& msg, Keys keyData) [0x00000] 
>>   at System.Windows.Forms.TextBoxBase.ProcessCmdKey
>> (System.Windows.Forms.Message& msg, Keys keyData) [0x00000] 
>>   at System.Windows.Forms.Control.InternalPreProcessMessage
>> (System.Windows.Forms.Message& msg) [0x00000] 
>>   at System.Windows.Forms.Control.PreProcessMessage
>> (System.Windows.Forms.Message& msg) [0x00000] 
>>   at System.Windows.Forms.Control.PreProcessControlMessageInternal
>> (System.Windows.Forms.Message& msg) [0x00000] 
>>   at (wrapper remoting-invoke-with-check)
>> System.Windows.Forms.Control:PreProcessControlMessageInternal
>> (System.Windows.Forms.Message&)
>>   at System.Windows.Forms.Application.RunLoop (Boolean Modal,
>> System.Windows.Forms.ApplicationContext context) [0x00000] 
>>   at System.Windows.Forms.Application.Run
>> (System.Windows.Forms.ApplicationContext context) [0x00000] 
>>   at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
>> mainForm) [0x00000] 
>>   at DETool.Forms.LoginForm.Main () [0x00000]
>> 
>> mono version: 2.0.1-4
>> operating system : ubuntu 9.0.4
>> 
>> 
>> Thanks in advance
>> Jijesh
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/application-crashes-on-pressing-ALT%2CArrow-keys-tp24627006p24640275.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list