Re: Trying to get it running with debian-unstable
Martin Kanich <[email protected]> Sun, 05 Sep 2004 21:50:45 +0200
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
Martin Kanich wrote: > I just noticed, that the Sample can't be run from Konqueror, because it can't find the right path. I found some resources on net, how could one check the path to the executable: using System.Diagnostics; using System.IO; Process oLocal = System.Diagnostics.Process.GetCurrentProcess(); ProcessModule oMain = oLocal.MainModule; string OurDir = Path.GetDirectoryName(oMain.FileName); Adding this to Controls.cs, I get it to start from Konqueror. Well, I should start to learn using Mono&Co. ;-) Regards, Martin ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click