[Mono-winforms-list] RE: porting System.Windows.Forms applications fromWindows to Linux

Alexander Olk xenomorph2 at onlinehome.de
Sun Feb 26 08:41:24 EST 2006


Jackson, 

you are right. It is related to the icon stuff.

Just go ahead and add a try/catch block or remove it completely.

Cheers 
  Alexander Olk

Am Samstag, den 25.02.2006, 17:50 -0800 schrieb Jackson Harper:
> Are you guys sure that the initial directory has anything to do with
> this?  To me it looks like its just failing trying to find all the UI
> icons.  We really should have all this mime stuff wrapped in a
> try/catch.
> 
> Am Sonntag:  What linux distro are you using?
> 
> Jackson
> 
> 
> On Sat, 2006-02-25 at 23:24 +0100, Alexander Olk wrote:
> > Am Sonntag, den 26.02.2006, 01:16 +0530 schrieb vijaya raghava
> > mutharaju:
> > >       Iam using the latest version of mono only - 1.1.13.2. I did set
> > > the InitialDirectory property to "/root". If I leave it empty, then
> > > also it is giving an exception.It is saying that it cannot find the
> > > path specified.Are there any escape sequences in Linux that we should
> > > be aware of like in Windows it is '\'. 
> > > 
> > >        For eg: directory - "D:\Programs" is specified as "D:\
> > > \Programs". 
> > > 
> > >  In Windows it is working even though I specified as "/root". Since it
> > > is not there, it is neglecting it and opening the default directory.
> > 
> > So, I tried with empty InitalDirectory, with "/root", with "D:\Programs"
> > and whatever...
> > 
> > No exception, nothing. If InitialDirectory isn't found it uses the
> > current directory. My guess is, that your installation picks up the
> > wrong System.Windows.Forms dll as I fixed this not so long ago...
> > 
> > Cheers
> >   Alexander Olk
> > 
> > _______________________________________________
> > Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> 
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list



More information about the Mono-winforms-list mailing list