[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

ServerXMLHTTP object gives Automation error in VB6

Posted on 2008-02-02
1
Medium Priority
?
670 Views
Last Modified: 2008-02-04
I am developing a project in VB6.

The project has a reference to msxml3.dll.

I am declaring at module level:
Dim serverHTTP As New MSXML2.ServerXMLHTTP

Now in one function when I first access serverHTTP:
serverHTTP.setTimeouts resolveTimeout, connectTimeout, sendTimeout, receiveTimeout

at this point, the code tries to create an object of ServerXMLHTTP.

I get a runtime error at this line:
ERROR:-2147221231 Automation error

This error only comes when I install and run my program in Windows 98.
I have verified that msxml3 exists in Windows system directory, and also registered it manually.

How to solve this problem?
0
Comment
Question by:rajesh_khater
1 Comment
 
LVL 31

Accepted Solution

by:
Frosty555 earned 2000 total points
ID: 20811326
Aw man I think you're out of luck here.

ServerXMLHTTP has a minimum requirement of Windows 2000 and up.

http://msdn2.microsoft.com/en-us/library/ms762278.aspx

"Supported platforms include Microsoft Windows® 2000, or Microsoft Windows NT® 4.0 with Microsoft Internet Explorer 5.01 (or later) installed. ServerXMLHTTP fails on other platforms, such as Microsoft Windows 98."
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

611 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