Link to home
Start Free TrialLog in
Avatar of cacomputerguy
cacomputerguy

asked on

Compile Error - Function or interface marked as restricted or the function uses an automation type not supported in Visual Basic

I received a piece of VB code that had the compile error listed in the subject.  It stopped on the statement
   logID = log.childNodes.Item(0).Text and highlighted "childNodes".
I think these preceding code lines have something to do with this statement.
   Dim RPCResult As IXMLDOMNode
   Dim logsAs  IXMLDOMNodeList
   Dim log As  IXMLDOMNode
   Set Logs = Reader.RPCResult.childNodes
I'm not much of a VB programmer so I'm kind of lost here.  Am I missing a reference?  The code utilizes the MS SOAP Toolkit and it said it required VB6 with SP4.  When I look at the Help->About, it doens't say anything about SP4.  It says the version is 8176.  Is this not the correct version?

ASKER CERTIFIED SOLUTION
Avatar of sgayatri
sgayatri

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial