Re: [Mono-list] Where to start?

2010-03-03 Thread Danny
You might also run your app through MoMA: http://www.mono-project.com/MoMA

Stifu wrote:
> Hello,
> 
> Yes, 100% managed code should run on Mono (if not, it's a bug in Mono).
> For the record, the WinForms implementation of Mono has some rough edges,
> but it's slowly getting better (bug reports and patches are welcome).
> 
> Yes, you can just copy the exe and run it with Mono. You can try it on
> Windows, too. Install Mono for Windows, run the Mono command prompt, go to
> your application folder, and type "mono yourapp.exe". It's basically the
> same on Linux, but I prefer to add Mono to the explorer context menu, so I
> can just right click the exe and choose to run it with Mono.
> 
> 
> Ben K wrote:
>> I have some basic questions on how to get my program running on Mono.My
>> Windows Forms .NET application uses 1000managed code, no use of InterOp
>> classes.  Is this a good candidate to run on Mono?How do I run on Mono? 
>> Can I just copy the portable executable generated by Visual Studio onto a
>> Mono host and it will run?Thanks.
>>
> 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Where to start?

2010-03-03 Thread Stifu

Hello,

Yes, 100% managed code should run on Mono (if not, it's a bug in Mono).
For the record, the WinForms implementation of Mono has some rough edges,
but it's slowly getting better (bug reports and patches are welcome).

Yes, you can just copy the exe and run it with Mono. You can try it on
Windows, too. Install Mono for Windows, run the Mono command prompt, go to
your application folder, and type "mono yourapp.exe". It's basically the
same on Linux, but I prefer to add Mono to the explorer context menu, so I
can just right click the exe and choose to run it with Mono.


Ben K wrote:
> 
> I have some basic questions on how to get my program running on Mono.My
> Windows Forms .NET application uses 1000managed code, no use of InterOp
> classes.  Is this a good candidate to run on Mono?How do I run on Mono? 
> Can I just copy the portable executable generated by Visual Studio onto a
> Mono host and it will run?Thanks.
> 

-- 
View this message in context: 
http://n4.nabble.com/Where-to-start-tp1576576p1576639.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Where to start to carry my application on Mac OS ?

2009-12-17 Thread Amyco

Hello,

I'am new in this cummunity.

I developed a WinForm application for PC, in VB.NET and C # under Viual
Studio 2008 SP1.
I would like to bring this application on Mac via Mono. Where to start?

Can we realize some of this work on PC or does it have a Mac for start ?
With what tools ?

Many thank for your help to get started.
-- 
View this message in context: 
http://old.nabble.com/Where-to-start-to-carry-my-application-on-Mac-OS---tp26674691p26674691.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Where to start to carry my application on Mac OS ?

2009-12-08 Thread Robert Jordan
Stifu wrote:
> Read the part on "Path Separators" here:
> http://www.mono-project.com/Guidelines:Application_Portability

This does not apply to registry keys.

Mono's registry does not contain the "Software" key by default.
If you want to access this key you have to create it first:

...
RegistryKey software = Registry.LocalMachine.OpenSubKey ("Software");
if (software == null)
software = Registry.LocalMachine.CreateSubKey("Software");
...

Robert

> 
> 
> Amyco wrote:
>>
>> Ok, I followed the process stated:
>> Load + Install Tools for Visual Studio
>> Load + Install Mono 2.4.2.3 for Windows
>>
>>
>> My first application is running a little. The first Prolems is RegistryKey
>> OpenSubKey.
>>  
>> Dim KeyApp As RegistryKey = Registry.LocalMachine.OpenSubKey (PathKey)
>>
>> PathKey = "SOFTWARE \ \ My Software \ \"and it did not work.
>>
>> What is the format to use here?
>>
>> Many thank.
>>
> 

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Where to start to carry my application on Mac OS ?

2009-12-07 Thread Stifu

Read the part on "Path Separators" here:
http://www.mono-project.com/Guidelines:Application_Portability


Amyco wrote:
> 
> 
> Ok, I followed the process stated:
> Load + Install Tools for Visual Studio
> Load + Install Mono 2.4.2.3 for Windows
> 
> 
> My first application is running a little. The first Prolems is RegistryKey
> OpenSubKey.
>  
> Dim KeyApp As RegistryKey = Registry.LocalMachine.OpenSubKey (PathKey)
> 
> PathKey = "SOFTWARE \ \ My Software \ \"and it did not work.
> 
> What is the format to use here?
> 
> Many thank.
> 

-- 
View this message in context: 
http://old.nabble.com/Where-to-start-to-carry-my-application-on-Mac-OS---tp26674691p26689621.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Where to start to carry my application on Mac OS ?

2009-12-07 Thread Stifu

Hello,

You can start checking your stuff on Windows.

1) Run MoMA on your application (http://www.mono-project.com/MoMA)
2) Run your application with Mono on Windows
(http://www.go-mono.com/mono-downloads/download.html)

To run your application with Mono, launch the Mono console, browse to where
your exe is, then type: mono myapp.exe


Amyco wrote:
> 
> Hello,
> 
> I'am new in this cummunity.
> 
> I developed a WinForm application for PC, in VB.NET and C # under Viual
> Studio 2008 SP1.
> I would like to bring this application on Mac via Mono. Where to start?
> 
> Can we realize some of this work on PC or does it have a Mac for start ?
> With what tools ?
> 
> Many thank for your help to get started.
> 

-- 
View this message in context: 
http://old.nabble.com/Where-to-start-to-carry-my-application-on-Mac-OS---tp26674691p26674913.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list