[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2004-09-30
2
Medium Priority
?
1,993 Views
Last Modified: 2011-10-03
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?

0
Comment
Question by:cacomputerguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
sgayatri earned 375 total points
ID: 12198282
May be you have to install MS SOAP tool kit (try doing it again, if already done also) and SP4 for vb6.

In your code, try by typing  
log.
(log followed by a dot without spaces)
See if you can get that childnodes method listed automatically.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question