Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Web Query -- Timeout Issue

Hi, I have a web query that retrieves data from a web site that posts daily
data. The issue I'm running into is when the data is not yet available the
web query does not timeout until at least 30 minutes (but it does timeout).
I've been trying to find work-arounds that would allow me to set a much
smaller timeout...say 1 minute. I've tried using background queries and
maintaining my own timer, but this seems to be a little buggy, and I've also
tried setting a registry timeout parameter but that didn't seem to work. Is
there a solution to this problem besides dropping the web query and using
either the XMLHttp or IE object? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Web Query -- Timeout Issue

There is no timeout property on a web query. I've even punched this one back
to MS using a support incident (which they refunded because they couldn't
answer it).

Like you I also moved to background queries and a timer (you can find one on
my site) but it was desperately inefficient only being able to run a single
query at a time and highly unreliable.

For what I was doing I eventually ended up creating a custom built activex
control that uses the asyncread VB command. Initially I did it in VBA but
then moved the whole thing over to VB. The downside is you then have to
parse the html to get the data that you want.

As far as I could figure out the XMLHttp and Ie options provide a totally
synchronous download as well.

If you figure out an easier solution, let us know.

Robin Hammond
www.enhanceddatasystems.com

"Programmer's End Zone" <Programmer's End
wrote in message ...
Hi, I have a web query that retrieves data from a web site that posts
daily
data. The issue I'm running into is when the data is not yet available
the
web query does not timeout until at least 30 minutes (but it does
timeout).
I've been trying to find work-arounds that would allow me to set a much
smaller timeout...say 1 minute. I've tried using background queries and
maintaining my own timer, but this seems to be a little buggy, and I've
also
tried setting a registry timeout parameter but that didn't seem to work.
Is
there a solution to this problem besides dropping the web query and using
either the XMLHttp or IE object? Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wen Query Issue Hans Excel Discussion (Misc queries) 6 December 11th 08 07:39 PM
TImeIn-TimeOut-TimeIn-TimeOut-HoursWorked ChefBoiRD Excel Worksheet Functions 3 September 20th 05 10:01 AM
Background Query Timeout Terry Excel Programming 2 June 17th 04 11:40 AM
ms query xp issue quaoar Excel Programming 0 November 23rd 03 08:23 PM
Web query timeout Karyn Mak Excel Programming 0 July 16th 03 11:48 AM


All times are GMT +1. The time now is 03:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"