Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Access 03 HTTP requests >Thread Next - Re: Access 03 HTTP requests Re: Access 03 HTTP requestsTo: NULL Date: 2/20/2009 5:11:00 PM john@k... wrote:
> I am trying to use late binding with MSXML.dll to send HTTPRequests
> from within Access
>
> Dim httpObj As Object
> Set httpObj = 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?
Set httpObj = CreateObject("Msxml2.XMLHTTP.3.0")
respective, if it is ASP:
Set httpObj = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
The suffix (e.g. 3.0) can be changed to 6.0 to use MSXML 6 components.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
