English
Forum

Done: DownloadFile() Cancel

 

Nico
Madysa
Hello together,

the cover sagts really already. I load in my Program a something more File, naturally in disputed with the user, down, for what I yet DownloadFile(URL$,target$) use. ought to this Download obigem User too long last, so should it this too Cancel can. can I it with the einfachen Profanischen Mitteln make possible or must I on iFs Download.pcu zurückgreifen or helps not even The?

Greeting Nico
 
Nico Madysa
05/08/09  
 



The PCU is (already something longer) a INC [...]  , in this I had the Cancel-feature not vorgesehen - but it would one leichtes it incorporate.

interest?
 
05/08/09  
 




Nico
Madysa
Definitiv. of course is the herunterzuladende File only one halbes Megabyte big, still sure is sure.
 
Nico Madysa
05/08/09  
 



Bittesehr!

Hinterlege to the Download in the global downloadCallerProc The Funktionsadresse of/ one function with a Parameter circa over the Downloadstatus informed To go. gives then your hinterlegte function per Return 0 back, then becomes the loading aborted.

is The actually inc from xp-script.
CompileMarkSeparation

2 kB
Hochgeladen:05/08/09
Downloadcounter35
Download
 
05/08/09  
 




Nico
Madysa
that is, I, when the User on a Cancel-button pressed has, a globale Variable to put must, The The Callback-function the Downloads screen circa in the entrapment one Falles false zurückzugeben?
 
Nico Madysa
05/08/09  
 



Hm global must the imho not his there the Hauptprogramm eh anhält at Loading and only your Callback-function regelmässig called becomes. You could z.B. items How clicked in the Callback-function abprüfen or. the MessageHandling the at-loading-relevanten-Controls in the Callback-function run out let.
 
05/08/09  
 




Nico
Madysa
well then so, is too yet in the welt the representable.
work me straight by the eigentliche Hauptroutine - wants finally not copy, separate understand.
 
Nico Madysa
05/08/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.354 Views

Themeninformationen

this Topic has 2 subscriber:

Nico Madysa (4x)
iF (3x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie