![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | MSXML HTTP get command Any way for a GET command to retrieve a file on the local drive Example objhttp.Open "GET", strUrl, False strUrl is a file on the local system D:\MyFile.xml -Lou |
My System Specs![]() |
| | #2 (permalink) |
| | Re: MSXML HTTP get command Lou schrieb: Quote: > Any way for a GET command to retrieve a file on the local drive > > Example Quote: > objhttp.Open "GET", strUrl, False > seems to work (though .Status looks fishy). I think you should use the .load method of the "MSXML2.DOMDocument" object. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: MSXML HTTP get command Lou schrieb: Quote: > Thanks for the help on this. > What is happening is the status returns zero so the app stops processing > even though > the data is in the Response Text. > > The app is expecting the response text to be OK[200] but since it is a local > file the > response is zero and returns an error message. Feel free to ignore this, if you 'closed' the problem, especially as my fallback is speculative/untested. If you have a server installed on the machine (IIS?) or can install one (needn't to be IIS), that server could deliver "RSS.xml" via the URL "http://localhost/whatever/RSS.xml" Then you would get the 200/Ok. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| MSXML 4.0 | Vista Games | |||
| 3 copies of MSXML 4.0 SP2 ??? | Windows Updates | |||
| msxml question | VB Script | |||
| MSXML 4.0 SP2 Parse and SDK | Vista performance & maintenance | |||
| Command lines like "http://..." does not work anymore! | Vista General | |||