Click here to Skip to main content
15,890,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a requirement to migrate existing VB COM components to VB.NET. The COM DLL uses a lot of MSXML2 DOMDocuments.

The client requirement is to remove the reference to the Interop.MSXML2 DLL and use the System.XML namespace in my migrated .NET DLL.

My classic ASP code will create an object of MSXML2.DOMDocument and pass it as the input parameter to a function, say like this:

VB
dim objDOMDoc
dim objBusinessLayer
set objDOMDoc = Server.CreateObject(MSXML2.DOMDocument)
objBusinessLayer = Server.CreateObject(BusinessLayer.someClass)
objBusinessLayer.ParseXML(objDOMDoc)


However, the function which I have in my business layer will access System.XML.Xmldocument like this:

VB
Public someClass
Public function ParseXML(ByVal xmlDoc as System.XML.XmlDocument)
'Code here
End function
End class


I'll greatly appreciate any help on this. It's a little urgent.

Thanks in advance.
Posted
Updated 10-May-10 5:42am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900