R
Ramon N. Gene
Hi:
I'm working in a PPC 2002 application with VS.net 2003
and C#.
I'm trying to read a file (config.xml), located in my
application installation folder.
Currently I'm using:
config.ReadXml("\\Program Files\\MyApp\\config.xml");
and it's working fine.
What I would like to do is avoid the "\\Program
Files\\MyApp\\" part, because if the application is
installed in a different location (like a storage card)
it won't work.
I tried
config.ReadXml("config.xml");
but then the application looks in "My Device" and of
course don't find the config file.
Thanks in advance,
Ramon
I'm working in a PPC 2002 application with VS.net 2003
and C#.
I'm trying to read a file (config.xml), located in my
application installation folder.
Currently I'm using:
config.ReadXml("\\Program Files\\MyApp\\config.xml");
and it's working fine.
What I would like to do is avoid the "\\Program
Files\\MyApp\\" part, because if the application is
installed in a different location (like a storage card)
it won't work.
I tried
config.ReadXml("config.xml");
but then the application looks in "My Device" and of
course don't find the config file.
Thanks in advance,
Ramon