[mono-vb] Running VB-Applications compiled with VB.NET (Express Edition) causes many crashes!

Jude DaShiell jdashiel at shellworld.net
Sun Jun 14 19:42:09 EDT 2009


I think: Console.WriteLine("Key=" & keycode) may be likely to work too 
with the advantage of not having an increment operator where it might be 
confusing at least on first reading.  Hope this helps.



On Tue, 12 May 2009, Klaus Siebke wrote:

>
> Hi Hans,
>
> I started with Mono VB about 2 months ago and I had/have the same problems.
> Mono VB is still in a Beta state and I hope that somedays a debugger will be
> added ...
>
> In the meantime I use console messages like
> console.writeline ("Key="+keycode)
> I guess, you use this technique as well.
>
> For me the reason for your error messages seems to be a missing mouse event
> handler.
>
> Best regards,
> Klaus
>
>
>
> Easy_Rider9999 wrote:
>>
>> How can I get the line of code with the Error. I have made a version of my
>> program for Mono, but I have many crashes, but I often don't find the
>> crashes, because there is no debug information in the Mono-Error Message
>> (I started with option --debug!).
>>
>> Regards
>>
>> Hans
>>
>> Here is my latest Error Message:
>>
>> frmMain.initTreeview oldkeyensurevisible
>> frmMain.tvMed_AfterExpand Start
>> frmMain.tvMed_AfterExpand Expand Data
>> Source=G:\Repetit.Net.T.SQLITE\bin\Datenba
>> nk\RepLite.sqlite;Version=3;
>> Init Treeview lasted: 0,150000000001455 Seconds!
>> frmMain.tvMed_BeforeSelect Start
>> frmMain.Form_Activate Start
>> frmSymptome AutoSelect InitTreeview frmMain BySQL finished
>> frmSymptome AutoSelect finished
>> frmSymptome.tvSympt_AfterCheck Finished
>> System.NullReferenceException: Object reference not set to an instance of
>> an obj
>> ect
>>   at System.Windows.Forms.TreeNode.set_Checked (Boolean value) [0x00066]
>> in C:\c
>> ygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows.Forms\System.
>> Windows.Forms\TreeNode.cs:319
>>   at (wrapper remoting-invoke-with-check)
>> System.Windows.Forms.TreeNode:set_Chec
>> ked (bool)
>>   at System.Windows.Forms.TreeView.MouseDownHandler (System.Object sender,
>> Syste
>> m.Windows.Forms.MouseEventArgs e) [0x0009a] in
>> C:\cygwin\tmp\monobuild\build\BUI
>> LD\mono-2.4\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TreeView.cs:210
>> 1
>>   at (wrapper delegate-invoke)
>> System.Windows.Forms.MouseEventHandler:invoke_voi
>> d__this___object_MouseEventArgs
>> (object,System.Windows.Forms.MouseEventArgs)
>>   at System.Windows.Forms.Control.OnMouseDown
>> (System.Windows.Forms.MouseEventAr
>> gs e) [0x0001c] in
>> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Manage
>> d.Windows.Forms\System.Windows.Forms\Control.cs:6354
>>   at System.Windows.Forms.Control.WmLButtonDown
>> (System.Windows.Forms.Message& m
>> ) [0x0004f] in
>> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Wi
>> ndows.Forms\System.Windows.Forms\Control.cs:5620
>>   at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&
>> m) [0x0
>> 0184] in
>> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows.
>> Forms\System.Windows.Forms\Control.cs:5337
>>   at System.Windows.Forms.TreeView.WndProc (System.Windows.Forms.Message&
>> m) [0x
>> 0006b] in
>> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows
>> .Forms\System.Windows.Forms\TreeView.cs:1198
>>   at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
>> (System.Windows.
>> Forms.Message& m) [0x00000] in
>> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\
>> class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:234
>>   at System.Windows.Forms.Control+ControlNativeWindow.WndProc
>> (System.Windows.Fo
>> rms.Message& m) [0x00000] in
>> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\cl
>> ass\Managed.Windows.Forms\System.Windows.Forms\Control.cs:215
>>   at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
>> IntPtr wPa
>> ram, IntPtr lParam) [0x00085] in
>> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mc
>> s\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:242
>> frmMain.Form_Activate Start
>>
>
> -- 
> View this message in context: http://www.nabble.com/Running-VB-Applications-compiled-with-VB.NET-%28Express-Edition%29-causes-many-crashes%21-tp23468970p23497562.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
>
>


More information about the Mono-vb mailing list