Project special directories

In my project solution I have a directory named "data" and a couple of files below that which will eventually be included in the deployment.

The files contain data which will be read in via a streamreader and added to a dictionary.

Is there a special name I can use in "My.Settings" to point to this directory without having to hardcode a path in?

thanks.

[401 byte] By [chare] at [2007-12-23]
# 1
you can try Environment.CurrentDirectory or work around Assembly.GetExecutingAssembly().Location
joeycalisay at 2007-8-30 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2

I found a solution - I added the file to the My.Resources configuration and simply parse the file into a dictionary. Works great and is really easy.

Thanks!

chare at 2007-8-30 > top of Msdn Tech,Windows Forms,Windows Forms General...