Hi pachook,
Is that possible with LabView (and ACtiveX or .NET) to have a callback, or just see my polling if the download of file is complete ?
It is possible in LabVIEW to access the ActiveX event callbacks for the WebBrowser object. The "ActiveX Event Callback for IE.vi" is a good example found in the Example Finder that demonstrates this capability. The ability to poll whether the download is complete will be completely dependent on the
DWebBrowserEvents that the WebBrowser supports.
FileDownload will notify when a download file download begins. From Microsoft's
MSDN page, "When the WebBrowser control is about to begin a download operation, it fires the DWebBrowserEvents2:: DownloadBegin event." A DownloadComplete event is also fired when the download operation finishes. From the information I've found, it sounds like these events (and ProgressChange) are only for page downloads and not for file downloads, but they are your best bet. I would suggest inquiring on the
MSDN Forum for more information on these events.
havent found anything that I could connect with download manager from firefox
From
Mozilla's website, "Since ActiveX applies only to the Windows platform, it is unsuitable for Firefox which is available across multiple platforms. Currently, there is no mechanism by which you can use ActiveX controls in Firefox 2.0 or later." There has been a third-party project to create a
Firefox ActiveX control, but it only provides the same mechanisms as the Microsoft WebBrowser control. I hope this helps!
Message Edited by lion-o on
12-10-2007 02:17 AM