locked
Public member 'Reset' on type 'XmlNodeList' not found RRS feed

  • Question

  • User-1471881183 posted

    Hello All,

    below is my sample source code, when its reaching the bold highlighted line then it throws exception as "Public member 'Reset' on type 'XmlNodeList' not found. - at Microsoft.VisualBasic.CompilerServices.Symbols.Container.GetMembers(String& MemberName, Boolean ReportErrors)
    at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
    at Microsoft.VisualBasic.CompilerServices.N..........."

    actually i referred Interop.MSXML2 (Microsoft XML, v6.0) in the project and this error raised only from the server, i placed all the mandatory dll's but, no luck.

    experts can you please help me.

    Public Sub ParseResponse()
    
                Dim objNodeList
                Dim i
                Dim tmp1, tmp2, tmp3
                Dim sha1hash
                Dim XMLRoot
                Dim XMLItem
    
                objNodeList = XMLDoc.getElementsByTagName("response")
                responseFields.Add("timestamp", objNodeList.Item(0).getAttribute("timestamp"))
                objNodeList.Reset()
    End SUb

    Monday, August 6, 2018 5:47 PM

All replies