Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6068413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:42:44+00:00 2026-05-23T09:42:44+00:00

Attempting to make an http post to a web service from a basicscript (VBScript/VBA

  • 0

Attempting to make an http post to a web service from a basicscript (VBScript/VBA scripting language – SummitSoftware) and want to implement a timeout.

Apparently the XmlHttpRequest object has a timeout property (http://msdn.microsoft.com/en-us/library/ms535874%28v=vs.85%29.aspx), but attempting to use it returns me a “property or method not found” error.

Eg:

Dim obj As Object
Set obj = CreateObject("MSXML2.XMLHTTP.3.0")
obj.timeout = 123

This also applies to Microsoft.XMLHTTP and any other versions of the MSXML2 variant.

My only thought so far is to kick of another process which runs a vbscript to make the request. If it runs for more than a given time, kill the process. Not exactly ideal however.

Any ideas on this, or how this might be implemented differently?

Edit (possible solutions):

  1. WShell.Run a VBScript to run in another process and complete the operation async. Kill if runs for more than n.
  2. Use HTTP/1.1 Keep-Alive header. Would rather implement this on the client.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:42:44+00:00Added an answer on May 23, 2026 at 9:42 am

    Are you using VBA/VB6 or VBScript? In VBScript, Dim obj As Object is not valid as there is no static typing.

    I think you might be looking at the wrong object reference. The MSXML2.XMLHTTP object has the IXMLHTTPRequest interface which is defined here and the reference you mention is for the XmlHttpRequest object supported by Internet Explorer 7+.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to write an ASP.net web service that will be utilized by
You can see my project here - http://www.inluxphoto.com/custom/jsgallery/index.php I am attempting to make the
Using php coding, I'm attempting to make a script which will grab content from
Here's a good one to reflect on: http://en.wikipedia.org/wiki/Kakuro I'm attempting to make a solver
On http://judi.simpleupdates.com/ I am attempting to make a slideshow of images on a page
Attempting to print out a list of values from 2 different variables that are
Attempting to deploy a MOSS solution to a UAT server from dev server for
When attempting to open a project from source control on a newly formatted pc,
I'm attempting to create a RESTful service in CakePHP but I've hit a bit
I'm attempting to make a TinyURL clone in ASP.NET MVC as a learning project.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.