appendChild Failure

admin

Administrator
Staff member
I am getting a COM failure "Parameter Incorrect" (0x80070057) whenperforming an IXMLDOMNode::appendChildIt is happening in my VB code:Dim XmlBM As IXMLDOMNodeDim XmlNode As IXMLDOMNodeDim XmlDoc As IXMLDOMDocumentIf Not XmlBM Is Nothing ThenSet XmlDoc = New DOMDocument30Set XmlNode = XmlBM.cloneNode(True)XmlDoc.appendChild XmlNodeXmlDoc.save XmlNodeFileWebBrowser1.Navigate XmlNodeFileEnd IfThis only happens in strange conditions and does not happen all the timeand only happens in rare situations.I have checked the XmlNode object and it is complete with all thedefinitions.I have trying adding the schema to the base XmlDoc without any luck
 
Back
Top