[Mono-devel-list] removing the vnc keyboard

Doug dougpostman at yahoo.com
Mon Apr 25 14:40:04 EDT 2005


How do you remove mono from using the VNC keyboard
layout?  Thanks for any help!  Close to getting it
work on Solaris 9.


--- Peter Dennis Bartok <peter at novonyx.com> wrote:
> Well, it seems that System.Drawing cannot find/load
> any matching font.
> 
> Try taking VNC out of the picture and see if that
> makes a difference.
> 
> Cheers,
>   Peter
> 
> -----Original Message-----
> From: "Doug" <dougpostman at yahoo.com>
> To: <mono-devel-list at lists.ximian.com>
> Date: 25 April, 2005 10:15
> Subject: [Mono-devel-list] error running form -
> System.Windows.ThemeEngine
> 
> 
> >Using mono 1.1.6, I tried running a simple basic
> >windows form and got the following.
> >
> ># mono monotest.exe
> >Mono System.Windows.Forms Assembly [Revision:
> 41731;
> >built: 2005/2/15 5:56:12]
> >Keyboard: VNC keyboard layout
> >
> >Unhandled Exception:
> >System.TypeInitializationException: An exception
> was
> >thrown by the type initializer for
> >System.Windows.Forms.ThemeEngine --->
> >System.NullReferenceException: Object reference not
> >set to an instance of an object
> >in <0x00000> <unknown method>
> >in (wrapper managed-to-native)
>
>System.Drawing.GDIPlus:GdipGetGenericFontFamilySansSerif
> >(intptr&)
> >in <0x00030>
> >System.Drawing.FontFamily:get_GenericSansSerif ()
> >in <0x00218>
> >System.Windows.Forms.ThemeWin32Classic:.ctor ()
> >in <0x000c8>
> System.Windows.Forms.ThemeEngine:.cctor
> >()--- End of inner exception stack trace ---
> >
> >in <0x00000> <unknown method>
> >in <0x00004>
> >System.Windows.Forms.Label:get_DefaultSize ()
> >in <0x00164> System.Windows.Forms.Control:.ctor ()
> >in <0x00010> System.Windows.Forms.Label:.ctor ()
> >in (wrapper remoting-invoke-with-check)
> >System.Windows.Forms.Label:.ctor ()
> >in <0x0002c>
> MonoHelloWorld.Form1:InitializeComponent
> >()
> >in <0x00018> MonoHelloWorld.Form1:.ctor ()
> >in (wrapper remoting-invoke-with-check)
> >MonoHelloWorld.Form1:.ctor ()
> >in <0x00028> MonoHelloWorld.Form1:Main ()
> >
> >Any ideas what the problem could be or if mono has
> a
> >bug that can be fixed?
> >   Thanks
> >Doug
> >_______________________________________________
> >Mono-devel-list mailing list
> >Mono-devel-list at lists.ximian.com
>
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
>
http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 



More information about the Mono-devel-list mailing list