Results 1 to 3 of 3

Thread: How can I force a form to appear...

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    44

    Post

    Hello...

    Got a perplexing problem...

    I have program that pops up a form:
    Progress_form.Visible = True

    then I send files via FTP:
    bRet = FtpPutFile(hConnection, LLocal.....

    The form will not appear completely until the ftp is done. Does this have to do with a multitasking (or threading). How can I disable this?

    Thanks,
    Scott

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    It's because the Processing of Showing your Form to Getting the File is so quick that the Form doesn't have enough Process time to Show completely, before calling your Download Function/Code Issue a call to DoEvents.

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Certified AllExperts Expert

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    44

    Post

    You are a genius. Works like a champ!

    I am curious...
    Is there a way to figure progress on
    FtpPutFile? Or is this beyond the limits of the function?

    Thanks,
    Scott

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width