[Mono-winforms-list] Error in OpenFileDialog
Ulf Möller
u.moeller at gmx.de
Sat Feb 11 07:22:55 EST 2006
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 ?
Runtime-Error:
===============================
Unhandled Exception: System.NullReferenceException: Object reference
not set to an instance of an object
in <0x00120> System.Windows.Forms.MimeIconEngine:GetIconIndexForFile
(System.String full_filename)
in <0x000ef> System.Windows.Forms.MWFFileView:DoOneFileInfo
(System.IO.FileInfo fileInfo)
in <0x00391>
System.Windows.Forms.MWFFileView:UpdateFileViewByDirectoryInfo
(System.IO.DirectoryInfo inputDirectoryInfo)
in <0x00124> System.Windows.Forms.MWFFileView:UpdateFileView
(System.Object directoryInfo_or_string)
in (wrapper remoting-invoke-with-check)
System.Windows.Forms.MWFFileView:UpdateFileView (object)
in <0x02030> System.Windows.Forms.FileDialog+FileDialogPanel:.ctor
(System.Windows.Forms.FileDialog fileDialog)
in (wrapper remoting-invoke-with-check) FileDialogPanel:.ctor
(System.Windows.Forms.FileDialog)
in <0x000a1> System.Windows.Forms.OpenFileDialog:.ctor ()
in (wrapper remoting-invoke-with-check)
System.Windows.Forms.OpenFileDialog:.ctor ()
in <0x00022> OpenDialog.Form1:InitializeComponent ()
in <0x00020> OpenDialog.Form1:.ctor ()
in (wrapper remoting-invoke-with-check) OpenDialog.Form1:.ctor ()
in <0x00018> OpenDialog.Form1:Main ()
More information about the Mono-winforms-list
mailing list