I've try to use the following command to load xml file.
It works for Windows Application but doesn't work for Device Application.
Please take a look the code and error message.Thanks a lot.
doc = new XmlDocument();
doc.Load("medic ationXML.xml");
The error message is
"FileNotFoundEx ception is unhandled"
No matter I use relative path or direct path like "C:/xxx/xxx/aaa.xml"
it just didn't work.
I'm using VS 2005 and CF 2.0.Please help me solve the path problem.
Thanks.
It works for Windows Application but doesn't work for Device Application.
Please take a look the code and error message.Thanks a lot.
doc = new XmlDocument();
doc.Load("medic ationXML.xml");
The error message is
"FileNotFoundEx ception is unhandled"
No matter I use relative path or direct path like "C:/xxx/xxx/aaa.xml"
it just didn't work.
I'm using VS 2005 and CF 2.0.Please help me solve the path problem.
Thanks.
Comment