[Mono-winforms-list] RE: porting System.Windows.Forms
applications fromWindows to Linux
xenomorph2 at onlinehome.de
Sat Feb 25 07:37:28 EST 2006
Which mono/mcs version are you using ?
--->>>>> System.ArgumentException: The Path does not have a valid
Are you sure that your path is correct ?
Setting InitialDirectory to "/root" works as expected here.
Am Freitag, den 24.02.2006, 22:08 -0800 schrieb raghava:
> What if I want to add some more code to the source file and
> need to compile it again it in Linux. How should I do it ? There are a
> couple of forms which I should integrate to form a single .exe file.
> Iam also getting an exception while executing a
> OpenFileDialog in Linux. Below is the partial Stack trace.......
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for System.Windows.Forms.MimeIconEngine
> ---> System.ArgumentException: The Path does not have a valid format
> in <0x002c3> System.IO.Directory:GetFileSystemEntries (System.String path,
> System.String pattern, FileAttributes mask, FileAttributes attrs)
> in <0x00011> System.IO.Directory:GetDirectories (System.String path,
> System.String pattern)
> in <0x0000f> System.IO.Directory:GetDirectories (System.String path)
> in <0x00027> System.Windows.Forms.GnomeHandler:CreateUIIcons ()
> in <0x000a3> System.Windows.Forms.GnomeHandler:Start ()
> in <0x00455> System.Windows.Forms.MimeIconEngine:.cctor ()--- End of inner
> exception stack trace ---
> I have given the intial directory as "/root" . What is the wrong in the
> code ?
More information about the Mono-winforms-list