CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Posts
    13

    Inet control questions...

    I'm developing a modified FTP program that performs some tasks automatically. I have two Sub-routines back to back, OpenConnection and SendFile. If I comment SendFile, OpenConnection works fine, the connection is opened and the list of items is correctly updated. When I allow both sub-routines to run, OpenConnection no longer works properly. It appears that the program is not waiting for OpenConnection to finish before it starts SendFile. It is complicated also because I am using the Internet Transfer Control and it uses the StateChanged event. Is there a way to make my program wait for the first action to complete then do the second one? Any advice would be appreciated, however helpful you think it might be. Thanks a lot


  2. #2
    Join Date
    Jun 2001
    Posts
    13

    Re: Inet control questions...

    Answered my own question.

    ryan


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

Featured