TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ksmloh
NA
42
0
accessing the embedded xml
Dec 19 2003 12:33 PM
I have embedded an xml file into the project itself using VS, "Adding Existing Item" and setting the xml file's property as embedded resource. But how do i access it? I only worked out the following but i could not read the file: System.Resources.ResourceManager resources = new System.Resources.ResourceManager(this.GetType()); System.Xml.XmlTextReader reader = new System.Xml.XmlTextReader((System.IO.Stream)(resources.GetObject("my.xml")));
Reply
Answers (
1
)
Application configuration
Error returning DataSet from COM+ DLL in C#