[Gtk-sharp-list] How to obtain a path?
Petteri Kautonen
petteri.kautonen at pp.inet.fi
Fri Feb 2 07:43:46 EST 2007
Here is static a method:
using System;
using System.Reflection;
using System.IO;
public static string AppPath
{
get
{
return
System.IO.Path.GetDirectoryName(Environment.GetCommandLineArgs()[0]);
}
}
Carlos Adriano Portes wrote:
> Hi
>
> I would like very much to know how to obtain
> Application.StartupPath(windows) in a gtk# application in windows or
> linux, has someone a tip!?
>
> Thanks in advance.
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>
More information about the Gtk-sharp-list
mailing list