Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Access 03 HTTP requests

From: john@--------------.---
To: NULL
Date: 2/20/2009 8:23:00 AM
On Feb 20, 6:10=A0pm, Martin Honnen <mahotr...@yahoo.de> wrote:
> j...@kosmosbusiness.com wrote:
> > I am trying to use late binding with MSXML.dll to send HTTPRequests
> > from within Access
>
> > =A0 =A0 =A0 =A0Dim httpObj As Object
> > =A0 =A0 =A0 =A0Set httpObj =3D CreateObject("MSXML.XMLHTTPRequest")
>
> > It compiles OK but when I run I receive the following error.
> > "Run-time error '429': ActiveX component can't create object"
>
> > Any ideas on how to properly define the type?
>
> =A0 =A0Set httpObj =3D CreateObject("Msxml2.XMLHTTP.3.0")
> respective, if it is ASP:
> =A0 =A0Set httpObj =3D Server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
>
> The suffix (e.g. 3.0) can be changed to 6.0 to use MSXML 6 components.
>
> --
>
> =A0 =A0 =A0 =A0 Martin Honnen --- MVP XML
> =A0 =A0 =A0 =A0http://JavaScript.FAQTs.com/

Hi Martin,

After some struggling the following works and I was able to send http
requests from within Access 03
           Dim httpObj As Object
           Set httpObj =3D CreateObject("Microsoft.XMLHTTP")

You mention MSXML 3 & 6 components. I thought late binding was
supposed to be generic so that it is guaranteed to work on any PC. If
we specify a specific MSXML component, wouldn't this cause a potential
problem?

Thanks,
John


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent