Guest_imported
New member
- Jan 1, 1970
- 0
Dim blnRes As Boolean
Dim XMLString As String
Dim xmlDoc As New MSXML2.DOMDocument26
XMLString = "<sample-tag attr1=""3"">data</forecast>"
blnRes = xmlDoc.loadXML(XMLString)
I am using above five statements in myvb program for creating an xml file.At run time i get error at 4th statement (blnRes = xmlDoc.loadXML(XMLString))with message saying "ActiveX component cannot create objects"
What could be the possible reason
Thanks in advance.
Dim XMLString As String
Dim xmlDoc As New MSXML2.DOMDocument26
XMLString = "<sample-tag attr1=""3"">data</forecast>"
blnRes = xmlDoc.loadXML(XMLString)
I am using above five statements in myvb program for creating an xml file.At run time i get error at 4th statement (blnRes = xmlDoc.loadXML(XMLString))with message saying "ActiveX component cannot create objects"
What could be the possible reason
Thanks in advance.