MSXML2 Issue

V

vb6dev

I am trying to add the following line of code to my C# InfoPath project:
MSXML2.DOMDocument50 docTest = new MSXML2.DOMDocument50Class();

I added a reference to COM: Microsoft XML, v5.0

But I keep getting the following error:

System.IO.FileNotFoundException
File or assembly name Interop.MSXML2, or one of its dependencies, was not
found.

What's wrong?

Thanks

vbdev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top