Hi,<br><br> When do we use the Still executing option in the<br>Do while loop.What is the use of this option.<br>Could somebody give some example on this.<br><br><br>Many thanks for the help<br><br>Motto
You mean with the FTP control I think.<br><br>You need to use this because the MS FTP control works in the background - but can only do one thing at once.<br><br>So. If you <b>get</b> a file the next line of your code executes before the file transfer has finished - possibly several minutes before if it's a large file.<br><br>If you try to do another <b>get</b> before the first one has completed the control will fail -- so you need to check .StillExecuting before you do that.<br><br>The easiest way to do this is:<br><br>While MSFtp1.StillExcuting<br> DoEvents<br>Wend<br><br> <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.