views:

125

answers:

1

I'm adding code to a program created to be used on Windows CE. My current problem is that Application.StartupPath isn't recognized. What is the Equivalent line of code I need to use?

+1  A: 

You can retrieve it by

Path.GetDirectoryName (Assembly.GetExecutingAssembly ().GetName ().CodeBase);
thelost