You're not using vnc? Is this on Solaris? Are you using the console? What are your versions (Mono, libgdiplus, OS)?
Let's move this to the [EMAIL PROTECTED] list, mono-devel is not the right place. Peter -----Original Message----- From: "Doug" <[EMAIL PROTECTED]> To: "Peter Dennis Bartok" <[EMAIL PROTECTED]>; <mono-devel-list@lists.ximian.com> Date: 25 April, 2005 12:40 Subject: removing the vnc keyboard >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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> >> To: <mono-devel-list@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@lists.ximian.com >> >>http://lists.ximian.com/mailman/listinfo/mono-devel-list >> > >> > >> _______________________________________________ >> Mono-devel-list mailing list >> Mono-devel-list@lists.ximian.com >> >http://lists.ximian.com/mailman/listinfo/mono-devel-list >> > > _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list