Victor Charles
asked on
Help with accessing data in subfolder of applicaion's folder
Hi,
How do I modify the code below to access the xml file in the "Data" subfolder?
xmlPath3 = System.IO.Path.Combine(App lication.S tartupPath , "Receiver.xml")
The code above looks for the file in the Bin/Debug folder but the xml file is in the "Data" subfolder.
I tried the code below but it does not work:
xmlPath3 = System.IO.Path.Combine(App lication.S tartupPath + \Data\, "Receiver.xml")
Thanks,
Victor
How do I modify the code below to access the xml file in the "Data" subfolder?
xmlPath3 = System.IO.Path.Combine(App
The code above looks for the file in the Bin/Debug folder but the xml file is in the "Data" subfolder.
I tried the code below but it does not work:
xmlPath3 = System.IO.Path.Combine(App
Thanks,
Victor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're welcome.
ASKER