Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
IBindStatusCallback
Does any one have code examples of implementing the
IBindStatusCallback class / methods of URLMON URLDownloadToFile API call? Thanks Jack |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
IBindStatusCallback
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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
IBindStatusCallback
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 |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
IBindStatusCallback
Try this:
http://home.inreach.com/mdunn/code/U...LDownload.html There's a complete VC++ 6.0 project there, including an abort button, as well as text and progress control feedback, but I haven't been able to compile the equivalent in Embedded Visual C++ 3.0 (which is my interest). If anyone knows the trick (include files, project settings, etc.) that makes that possible, please let me know... -Mike Landis "Robin Hammond" wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|