Oh yeah, sorry. That function should be declared as this:VB Code:
Private Declare Function URLDownloadToFile Lib "URLMON.dll"[b] Alias "URLDownloadToFileA"[/b] ( _ ByVal lpCaller As Long, _ ByVal szUrl As String, _ ByVal szFile As String, _ ByVal dwReserved As Long, _ ByVal TLPBINDSTATUSCALLBACK As Long _ ) As Long




Reply With Quote