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

Jackson Harper jackson at ximian.com
Sun Feb 26 22:59:50 EST 2006


Hello, I just checked in a fix for this. So if you are using SVN, you
can update and rebuild and it should work.  

Are you using an older version of GNOME?  Which distro do you use?

Jackson


On Sun, 2006-02-26 at 11:21 +0100, Pedro Martínez Juliá wrote:
> El dom, 26--2006 a las 12:11 +0530, vijaya raghava mutharaju escribió:
> > 
> >    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 ?
> > 
> 
> If your application is in a VS.NET project you can import it in
> MonoDevelop and build with it. Also you can install prj2make-sharp,
> convert your "csproj" file with "prj2make-sharp App.csproj" and use
> "make" for builidng it.
> 
> Regards,
> 
>     Pedro
> 
> >          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
> > 
> > _______________________________________________
> > 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