1
Answer

Loading an xml file in the DOM object.

Photo of Administrator

Administrator

22y
4.5k
1
Iam working on a c# code that involves loading an xml file in the DOM object. Now the problem is for eg: XmlDocument xd = new XmlDocument(); xd.Load("Main.xml"); now this Main.xml file should be in the current directory where the main application runs. what if the Main.xml file is in some other directory? how can I get to some other directory to upload a file? please let me know how can I define a path where it uploads an xml file. Thanks, vspv

Answers (1)

0
Photo of Mykonine
NA 520 0 20y
I should probably make myself clearer: When you put your mouse over the icon a certain text is displayed. I want to programmatically force that same box with text to display without requiring the user to hover the mouse over the icon. Basically an alert.