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

Pedro Martínez Juliá pedromj at gmail.com
Sun Feb 26 05:21:31 EST 2006


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
-- 
Pedro Martínez Juliá
\   pedromj at gmail.com
)|      WebLog: http://www.pedromj.com/blog
/           Página web: http://www.pedromj.com
GoogleTalk: pedromj at gmail.com
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org



More information about the Mono-winforms-list mailing list