I am trying to load XML file which is 0f 250MB. But it is not able to load File.
please guide me.
i m showing the code i Am using for that.
frmArvindKMM.CD.Filter = "Text File(*.xml)|*.xml|All File |*.*"
frmArvindKMM.CD.ShowOpen
If frmArvindKMM.CD.FileName = "" Then
MsgBox "Import Failed", vbCritical + vbOKOnly, "AMN & Co."
Exit Sub
End If
Set xmlDoc = New DOMDocument30
If frmArvindKMM.CD.FileName = "" Then
MsgBox "Failed to import"
Exit Sub
ElseIf xmlDoc.Load(frmArvindKMM.CD.FileName) Then
xmlDoc.async = False
Else
MsgBox "Failed to import"
Exit Sub
End If
You can use SAX parser which will allow you to dynamically load your XML file.
Refer The Following Link
http://support.microsoft.com/default.aspx?scid=kb;en-us;266228