Question umm stuck trying to get application folder

rickydalley

Member
Joined
Aug 28, 2009
Messages
24
Programming Experience
10+
I've tried searching the net but to no avail.

I'd like to get what folder my application is running in on my ce device.

Examples I've seen don't work.

I'm using VB.Net 2005 on a winmobile 6 device.

can anyone help?

regards, Ricky
 
I found out how

Another search on the net showed me this

VB.NET:
        Dim s As String = Reflection.Assembly.GetExecutingAssembly.GetName.CodeBase
        Dim s1 As String = New System.IO.FileInfo(s).DirectoryName

s1 will contain the application folder.

regards, Ricky
 
Back
Top