Hello,
I want to receive a drop from the URL in IE in a winforms control. I get no drag enter event. Does anyone know how to do this.
Thanks in advance
Otto
Hello,
I want to receive a drop from the URL in IE in a winforms control. I get no drag enter event. Does anyone know how to do this.
Thanks in advance
Otto
//--------------------------------------------------------------------------------------------------
FUNCTION URLDownLoad(cUrl, cSaveAs)
//--------------------------------------------------------------------------------------------------
sysrefresh()
if !URLDownloadToFile( 0, cUrl, cSaveAs, 0, 0 ) == 0
retu.f.
endif
retu.t.
//--------------------------------------------------------------------------------------------------
DLL32 FUNCTION URLDownloadToFile(pCaller AS LONG,szURL AS STRING, szFileName AS STRING, dwReserved AS LONG, lpfnCB AS LONG) ;
AS LONG PASCAL;
FROM "URLDownloadToFileA";
LIB "urlmon.dll"
Thank you, Lukas.
But how do I call this function.
Best regards,
Otto
Otto,
cUrl := "http://www.sistemasintegrales.es/ficheros/update.exe"
cSaveAs := "c:\temp\update.exe"
URLDownLoad(cUrl, cSaveAs)

Otto,
Simply use a RichEdit control instead of that multiline Get and you will automatically get it ![]()