Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread Nils Andresen
which distribution are you using? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread Nils Andresen
2011/8/28 BillC cheng.bil...@gmail.com: is it true that whole the startup proces runs with sudo? No. But on a very, very far abstraction it has similarities. because i noticed i can't sudo mono program.exe while mono program.exe is? so how can i make sudo mono possible? depends on what the

Re: [Mono-list] Porting MSBuild script to XBuild with ItemGroup

2011-08-04 Thread Nils Andresen
Hi 2011/8/4 Mike Christensen m...@kitchenpc.com: What's the best way to port this code over:  Target Name=Build    [...]    ItemGroup [...]  : error : Error initializing task ItemGroup: Not registered task ItemGroup. This is a known bug. See

Re: [Mono-list] Developer Express on Linux

2011-08-03 Thread Nils Andresen
Hi.. Since I recently tried doing some hooks in Windows i'll add my 2ct. 2011/8/3 Paul Johnson p...@all-the-johnsons.co.uk: http://support.microsoft.com/kb/318804 makes things clear. The only real swines are the low level WH_MOUSE_LL and WH_KEYBOARD_LL stuff which isn't supported under .NET

[Mono-list] embedding mono and returning GList

2011-05-22 Thread Nils Andresen
Hi, I'd like to call a managed method from c which returns a GLib.List. I seem to be unable to do this, however.. my managed code looks like: public GLib.List Test() { GLib.List list = new GLib.List(typeof(string)); list.Append(eins); list.Append(zwei);

Re: [Mono-list] embedding mono and returning GList

2011-05-22 Thread Nils Andresen
2011/5/22 Alan alan.mcgov...@gmail.com: Print out the value of the 'Handle' property in your c# code before the method returns and then print the value you get in native after you unbox. If they're not the same value you're done something wrong. Give that a shot and see what happens. Maybe

Re: [Mono-list] embedding mono and returning GList

2011-05-22 Thread Nils Andresen
2011/5/22 Robert Jordan robe...@gmx.net: mono_object_unbox() returns a pointer to your intptr, so you have to dereference it: GList *list = *(GList**)mono_object_unbox (o); Thank you, Robert - you are amazing!! And I definitively have to read up on the usage of pointers - and on how many

Re: [Mono-list] What is the preferred way to configure a mono application

2011-02-26 Thread Nils Andresen
Hi, thanks for the tips! @abe: Glad to be of help ;-) I tried that, but somehow it does not work. Whatever VS-magic happens does not if you tried to hand-code a settings file. @john: did it that way - works nice, thanks. Nils ___ Mono-list maillist -

Re: [Mono-list] Mono.Addins: Add-ins registered in the global registry must have a namespace.

2011-02-23 Thread Nils Andresen
Thanks for the hint, Lluis already helped me at http://groups.google.com/group/mono-addins/browse_thread/thread/25a87ce60c7c166f Maybe I was just too impatient. Nils 2011/2/22 Steve Lessard s_less...@yahoo.com Could namespace mean the same type of namespace in the XML manifest file for

[Mono-list] Mono.Addins: Add-ins registered in the global registry must have a namespace.

2011-02-19 Thread Nils Andresen
Hi, I posted on the Mono.Addin list, but there's only silence there - so I am trying my luck here... I am trying to use Mono.Addin but getting the following error: ERROR: Add-ins registered in the global registry must have a namespace. I can not find anything in the docs. Can someone please

Re: [Mono-winforms-list] How to execute my win app built in mono( Windows ) on Mono (Mac OSX)

2011-01-26 Thread Nils Andresen
Am 26.01.2011 08:48, schrieb Sudarshan Hegde: Though it is a manage app, exe extension belongs to windows hence to run these exes we need to have some software(other than windows OS) that would execute these exes. Hmm. I don't quite get this... You have build an application using mono under

Re: [Mono-list] generics and IEnumerable

2011-01-23 Thread Nils Andresen
Am 24.01.2011 06:58, schrieb oddstray: but I get the error: The non-generic type 'System.Collections.IEnumerable' cannot be used with the type arguments. I have a using System.Collections; statement higher up. Am I doing something wrong? IEnumerabeT is in System.Collections.Generic

Re: [Mono-winforms-list] Solution or Hint to Play Vedios, Flash Files and PDFs

2011-01-20 Thread Nils Andresen
Am 20.01.2011 15:07, schrieb Sudarshan Hegde: I need to play some vedio(mp4), flash files(swf) and pdf. Play - like hit a button and a player opens (xpdf, evince, totem, vlc whatever), or Embed - like your app is playing the mp4/swf ? Nils signature.asc Description: OpenPGP digital

[Mono-list] nautilus bindings ?

2010-04-06 Thread Nils Andresen
Hi. I read somewhere that writing nautilus extensions using mono is possible. Since I do not know much c/c++ most introductions to writing nautilus extensions are somewhat cryptic to me. The only reference to my claim i can currently find is http://www.go-mono.com/archive/1.0/ which states

Re: [Mono-list] Will there be an easy way to install MonoDevelop 2.2 on Ubuntu

2009-11-04 Thread Nils Andresen
Not using mono, but is this https://launchpad.net/~directhex/+archive/monoxidehttps://launchpad.net/%7Edirecthex/+archive/monoxidewhat you're looking for ? 2009/11/4 Jeffrey Stedfast f...@novell.com Jo Shields (Mono* maintainer for Ubuntu) will likely build MonoDevelop 2.2 packages when it

Re: [Mono-list] System.Diagnostics.Process.StartInfo.Arguments

2009-09-01 Thread Nils Andresen
Hi. I'm new to this list so I'm not sure if I'm wrong here... But calling export.StartInfo.RedirectStandardOutput = true; export.WaitForExit(); export.StandardOutput.ReadToEnd() can lead to a deadlock (at least when using .net framework...). When export.StandardOutput buffer is full the called