sourabhjha
Programmer
I am using below five statements in my vb program for creating an xml file
Dim blnRes As Boolean
Dim XMLString As String
Dim xmlDoc As New MSXML2.DOMDocument26
XMLString = "<sample-tag attr1=""3"">data</sample-tag>"
blnRes = xmlDoc.loadXML(XMLString)
At run time i get error at 5th statement (blnRes = xmlDoc.loadXML(XMLString))with message saying "ActiveX component cannot create objects"
What could be the possible reason
Thanks in advance
-Sourabh
Dim blnRes As Boolean
Dim XMLString As String
Dim xmlDoc As New MSXML2.DOMDocument26
XMLString = "<sample-tag attr1=""3"">data</sample-tag>"
blnRes = xmlDoc.loadXML(XMLString)
At run time i get error at 5th statement (blnRes = xmlDoc.loadXML(XMLString))with message saying "ActiveX component cannot create objects"
What could be the possible reason
Thanks in advance
-Sourabh