<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with OnReadyStateChange</title>
      <link>http://ask.metafilter.com/tags/OnReadyStateChange</link>
      <description>Questions tagged with 'OnReadyStateChange' at Ask MetaFilter.</description>
	  <pubDate>Tue, 08 Jan 2013 10:35:51 -0800</pubDate> <lastBuildDate>Tue, 08 Jan 2013 10:35:51 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>How can I get access to readyState 3 with VBA &quot;AJAX&quot;?</title>
	<link>http://ask.metafilter.com/232710/How%2Dcan%2DI%2Dget%2Daccess%2Dto%2DreadyState%2D3%2Dwith%2DVBA%2DAJAX</link>	
	<description>I&apos;m writing some VBA code (in Excel) which uses a reference to &lt;code&gt;Microsoft XML, v6.0&lt;/code&gt;, and creates a &lt;code&gt;MSXML2.XMLHTTP&lt;/code&gt; object.
I used the &lt;code&gt;clsXMLHttpMonitor&lt;/code&gt; example from &lt;a href=&quot;http://www.tushar-mehta.com/publish_train/xl_vba_cases/vba_web_pages_services/index.htm&quot;&gt;this page&lt;/a&gt; as a starting-off point.
How can I access the response text when readyState = 3? The example works fine for smallish requests.&lt;br&gt;
But when the response is sufficiently large, Excel will freeze up into a &quot;(Not Responding)&quot; state and sometimes come back and sometimes seem to hang forever.&lt;br&gt;
&lt;br&gt;
I know about readyState 3, but when I check for it, it seems that &lt;code&gt;responseStream&lt;/code&gt; is either empty or &quot;non-readable&quot;.&lt;br&gt;
&lt;br&gt;
Is there something I am missing about how to get access to the stream of data as it arrives with this object?&lt;br&gt;
&lt;br&gt;
&lt;i&gt;&lt;b&gt;&lt;u&gt;OR...&lt;/u&gt;&lt;/b&gt;&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
Is there an alternative object I can use from within VBA to accomplish the desired result?&lt;br&gt;
Preferably with code examples?&lt;br&gt;
&lt;br&gt;
My stackexchange-fu has failed on this one; my similar question there has been met with silence.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.232710</guid>
	<pubDate>Tue, 08 Jan 2013 10:35:51 -0800</pubDate>
	<category>ajax</category>
	<category>excel</category>
	<category>msxml2</category>
	<category>OnReadyStateChange</category>
	<category>resolved</category>
	<category>vba</category>
	<dc:creator>jozxyqk</dc:creator>
	</item>
	
	</channel>
</rss>

