June 29, 2006

There are some special directories easily available through use of the Environment.SpecialFolder enumeration: ApplicationData, Favorites, Personal, Programs, StartMenu and Startup. But it is a bit harder to e.g. get the current directory of the running application.
System.IO.Directory.GetCurrentDirectory() doesn’t work; it will give you an NotImplementedException at runtime.

To get it as string type:

Note the GetModules()[0] if you have more than one module.
To get the special folders:


(I give up trying to format the text, this wordpress text editor is by far the worst  I’ve ever tried!)


A start

June 29, 2006

Hi. My main objective with this blog is to keep a notebook of my experiences with developing software for mobile devices. If I manage to keep it up it may actually be of use to someone else also (in a few years time)…

Oh, I focus on Windows Mobile 5.0 devices (and looking forward to 6.0)…

– tk

Hello world!

June 29, 2006

Welcome to This is your first post. Edit or delete it and start blogging!