program folder

  • Thread starter Thread starter droll
  • Start date Start date
D

droll

i have a bunch of xml files that hold the config options for my app. i place
these in the output folder of the app. it gets deployed to the target
device. how to i reference these files in my app? i understand there is no
notion of a default or working path in windows ce. is there an API i can use
to get the path to the file?
 
droll,

i have a bunch of xml files that hold the config options for my app. i place
these in the output folder of the app. it gets deployed to the target
device. how to i reference these files in my app? i understand there is no
notion of a default or working path in windows ce. is there an API i can use
to get the path to the file?

Try

System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase

Regards,
Gilles [MVP].

(Please reply to the group, not via email)
 
Back
Top