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...
VB Code:
  1. Friend Property Set State(ByRef pobjValue As IXMLDOMNode)
  2. Dim objNode     As IXMLDOMNode
  3.     With mudtProps
  4.         .IsNew = pobjValue.selectSingleNode("IsNew").Text
  5.         .IsDirty = pobjValue.selectSingleNode("IsDirty").Text
  6.         .IsDeleted = pobjValue.selectSingleNode("IsDeleted").Text
  7.         .ID = pobjValue.Attributes.getNamedItem("ID").Text
  8.         .Key = pobjValue.selectSingleNode("Key").Text
  9.         .Description = pobjValue.selectSingleNode("Description").Text
  10.     End With
  11.     Set objNode = pobjValue.selectSingleNode("Recipes")
  12.     If Not objNode Is Nothing Then
  13.         Set mobjRecipes = New Recipes
  14.         Set mobjRecipes.State = objNode
  15.         Set objNode = Nothing
  16.     End If
  17. End Property
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?

Woka