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

vijaya raghava mutharaju m.vijayaraghava at gmail.com
Sun Feb 26 01:41:07 EST 2006


   Hi,

          What was the fix in System.Windows.Forms.dll ? Is it related to
OpenFileDialog class ? Is it in version 1.1.13.2_0 ?

           I had a similar thought regarding the UI icons. But it was just a
guess. Windows uses different default icon for Forms while Mono uses its
default icon that of a monkey. This doubt again recurred when there was a
term Mime Icon in the Stack trace.

        How should I get around it?

            If I change source code in Linux of an application which was
built in Windows like what Iam doing, then how should I build it in Linux
again ?

         Thank you.

On 2/26/06, Jackson Harper <jackson at ximian.com> wrote:
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20060226/b0dcc6d3/attachment.html


More information about the Mono-winforms-list mailing list