就是下面的第5个参数……
HRESULT URLDownloadToFile(
  LPUNKNOWN pCaller,  // Caller's controlling IUnknown
  LPCWSTR szURL,      // Pointer to URL to be downloaded
  LPCTSTR szFileName, // Pointer to file name
  DWORD dwResv,       // Reserved for future use
  LPBINDSTATUSCALLBACK lpfnCB
                      // Caller's IBindStatusCallback
);
 
Parameters
pCaller 
[in] Pointer to the caller's controlling IUnknown. If the caller is not an ActiveX component, this value may be set to NULL. 
szURL 
[out] Pointer to the URL to be downloaded. Cannot be NULL. 
szFileName 
[out] Pointer to the name of the file returned by this function. The user should pass a buffer to be filled and, preferably, use MAX_PATH to allocate the maximum path size. 
dwResv 
[in] Reserved for future use; must be zero. 
lpfnCB 
[in] Pointer to the caller's IBindStatusCallback interface. Can be NULL. 

解决方案 »

  1.   

    VC基本区同时提问,http://community.csdn.net/Expert/TopicView.asp?id=3498773 有100分,那里我最大只能放100分同时相关提问 http://community.csdn.net/Expert/TopicView.asp?id=3492942 有200分,在VB网络区,标题是求URLOpenStream,URLOpenPullStream,URLOpenBlockingStream的用法。欢迎帮忙解答
      

  2.   

    這裹類似, 但也沒有解決http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/VB_Controls/Q_21055642.html其中的 http://www.activevb.de/rubriken/klassen/kat22.html
      

  3.   

    http://community.csdn.net/Expert/topic/3502/3502111.xml?temp=7.902163E-02