I try to use ucGMap.ctl from here:

http://www.vbforums.com/showthread.p...=1#post4641473

... but sometimes runs with error
Code:
"Runtime Error '5': Invalid Procedure Call or Argument"
Code:
Private Function ReadTagContent(sXML As String, Tag As String) As String
Dim Result As String
  Result = Mid$(sXML, InStr(sXML, "<" & Tag & ">") + Len(Tag) + 2)
  Result = Left$(Result, InStr(Result, "</" & Tag & ">") - 1)
  Result = Replace(Replace(Result, vbCr, ""), vbLf, "")
  ReadTagContent = Trim$(Result)
End Function
Name:  Error-ucGmap.jpg
Views: 1129
Size:  31.4 KB