View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Robin Hammond[_2_] Robin Hammond[_2_] is offline
external usenet poster
 
Posts: 575
Default IBindStatusCallback

I don't think you can. As I said it is asynchronous meaning that execution
does not return to VBA until the file has downloaded.

If you really want to monitor a download's progress you will probably have
to look at using a winsock control but it is far more complex.

Robin Hammond
www.enhanceddatasystems.com

"Jack Clift" <Jack wrote in message
...
Sorry - probably asked the wrong questoin:

how do I get download status (progress) using urlmon's URLDownloadToFile?

"Robin Hammond" wrote:

Jack,

I haven't tried any callbacks but have used the UrlDownloadToFile call.
As
far as I have seen within VBA it is completely asynchronous, so I'm not
sure
what good a callback would do for you.

Robin Hammond
www.enhanceddatasystems.com

"Jack Clift" wrote in message
...
Does any one have code examples of implementing the
IBindStatusCallback class / methods of URLMON
URLDownloadToFile API call?

Thanks

Jack