Yea, just found that it's the vbNullChar that it doesn't like...Hmmmmm
OK...
Done some more bench testing...
It's the loading that takes all the time...sorry I'll explain a bit more...
I can populate a DOM, and pass it back to the XML strign back to my objects DLL in 2 seconds...it's getting the data back out of the DOM that's slow...
That is what I am having to use instead of the Data.Buffer UDT...This code looks wrong, is there a way I can speed it up using .NextNode or something?VB Code:
Friend Property Set State(ByRef pobjValue As IXMLDOMNode) Dim objNode As IXMLDOMNode With mudtProps .IsNew = pobjValue.selectSingleNode("IsNew").Text .IsDirty = pobjValue.selectSingleNode("IsDirty").Text .IsDeleted = pobjValue.selectSingleNode("IsDeleted").Text .ID = pobjValue.Attributes.getNamedItem("ID").Text .Key = pobjValue.selectSingleNode("Key").Text .Description = pobjValue.selectSingleNode("Description").Text End With Set objNode = pobjValue.selectSingleNode("Recipes") If Not objNode Is Nothing Then Set mobjRecipes = New Recipes Set mobjRecipes.State = objNode Set objNode = Nothing End If End Property
Woka




Reply With Quote