CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2000
    Posts
    127

    Suspension of code line

    Suppose i have called a function in my command button of VB form. But before this function has finished can i suspend the execution of the next line (the code line just after the mentioned function)? How can this be achieved?


  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Suspension of code line

    code in the command button's routine will not continue until the called function has completed. you have to write "callbacks" to do it differently.

    john

    John Pirkey
    MCSD
    http://www.ShallowWaterSystems.com
    http://www.stlvbug.org
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

  3. #3
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Re: Suspension of code line

    And to block all the events (and their queuing too) while the function is not finished?


  4. #4
    Join Date
    Sep 2000
    Posts
    127

    Re: Suspension of code line

    Nope just prevent the execution of the next line of code.


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