Loading File from Infopath Resource

R

Rama

How to access an infopath resource file in code ? I have an xml file in the
resource list and I am trying to load it in an xmlDocument object. I tried
following code assuming the xml file will be available in the solution.

dim temp as New XmlDocument
temp.Load("def.xml")

I get Microsoft Error Reporting window which closes my office Infopath
instance. What else needs to be done to load from the resource file ?
 
R

Rama

Thanks for your reply Greg.
My objective is to get an handle to the underlying schema of the infopath
document and I read in one of the post that there is no direct way to get to
the schema so I am trying to load it my code in an xmlDocument objects so
that I can play with it.
Let me know if there would be a better approach to this issue.

Rama
 
Top