[Mono-winforms-list] Error in OpenFileDialog

Ulf Möller u.moeller at gmx.de
Sat Feb 11 11:51:10 EST 2006


Am Samstag 11 Februar 2006 13:35 schrieb Felipe Almeida Lessa:
> > I try to use the winforms.OpenFileDialog. In a previous version
> > of mono, it runs correctly, but now (since mono 1.1.10) a mono
> > thorw an error.
> >
> > I only initialize the OpenFileDialog:
> > this.openFileDialog1 = new
> > System.Windows.Forms.OpenFileDialog();
> >
> > I think, this is a bug in the mono version 1.1.13.
> > Have anyone a workaround for the problem ?
>
> I don't have this problem here:
> --------------------------------------------
> $ booish
> Welcome to booish, an interpreter for the boo programming
> language.
>
> Running boo 0.7.5.2013.
>
> The following builtin functions are available:
>     dir(Type): lists the members of a type
>     help(Type): prints detailed information about a type
>     load(string): evals an external boo file
>     globals(): returns the names of all variables known to the
> interpreter
>
> Enter boo code in the prompt below.
>
> >>> import System.Windows.Forms from "System.Windows.Forms"
> >>> dialog = OpenFileDialog()
>
> Mono System.Windows.Forms Assembly [Revision: 54007; built:
> 2005/12/6 14:35:24]
> Keyboard: Brazilian ABNT-2 keyboard layout
> Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so?),
> using built-in colorscheme
> Gnome icons ready...
> System.Windows.Forms.OpenFileDialog
>
> >>> dialog.ShowDialog()
>
> OK
>
> --------------------------------------------
>
> Maybe it's your installation?
>
> Cheers,
> Felipe.

if I use booish (I do not know, anything about booish, but it is 
great), OpenDialog works fine. The dialog appears.

I have writen a .Net 1.1-WinForms-program only with OpenDialog. I 
have compiled it with MS visual studio and run on windows with mono 
and suse linux 10.0. On both system, the error occur.

bye
Ulf



More information about the Mono-winforms-list mailing list