Re: Using XMLHTTPRequest within Firefox (Newbie)
"Dave F." <[email protected]> Wed, 10 Oct 2007 18:13:28 +0100
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
Anthony Jones wrote: > "Dave F." <[email protected]> wrote in message > news:[email protected]... >> Hi >> >> I use MSXML.XMLHTTPRequest in an Excel VBA routine to download info from >> a web page using responseText. >> >> I'd like to swap over from IE & use Firefox instead. Is this possible? >> I looked for a Mozilla object library but couldn't see one. Would I have >> to load it manually? >> >> I've done some basic Google searching but unearthed nothing to get me >> started. >> >> Please point me in the right direction. >> > > Where your code currently says:- > > var xmlhttp = new ActiveXObject("MSXML.XMLHTTP") > > replace it with > > var xmlhttp = new XMLHttpRequest() > > Thats it. > I had go but with no success. This is the code I'm using at the moment. Snip of code: Dim http As New MSXML.XMLHTTPRequest http.Open "post", "http://www.advfn.com/blah,blah,blah", False, "Username", "Password" http.send Str = http.responseText Any ideas?