Peter
Mon Nov 24 13:15:16 CST 2003
Windows CE does not have the notion of CurrentDirectory, however you can
determine the directory in which your application exists using Reflection -
see this entry in the FAQ for details:-
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/faq/default.aspx#7.1
Peter
--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
"Robert" <holler@ergo-soft.com> wrote in message
news:0cca01c3b2bb$9e304d60$3101280a@phx.gbl...
> Hi,
>
> how to get the "CurrentDirectory" of an app.
>
> I want to open a file in the apps dir.
>
> ... new System.IO.FileStream( ?? + "\\filename.txt") ...
>
> Regards
> Robert Holler