[Mono-winforms-list] Error in OpenFileDialog

Felipe Almeida Lessa felipe.lessa at gmail.com
Sat Feb 11 07:35:40 EST 2006


Em Sáb, 2006-02-11 às 13:22 +0100, Ulf Möller escreveu:
> Hi,
> 
> 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.

-- 
"Quem excele em empregar a força militar subjulga os exércitos dos
outros povos sem travar batalha, toma cidades fortificadas dos outros
povos sem as atacar e destrói os estados dos outros povos sem lutas
prolongadas. Deve lutar sob o Céu com o propósito primordial da
'preservação'. Desse modo suas armas não se embotarão, e os ganhos
poderão ser preservados. Essa é a estratégia para planejar ofensivas."

  -- Sun Tzu, em "A arte da guerra"



More information about the Mono-winforms-list mailing list