CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Posts
    8

    how to stop application while images are loading

    In my project by opening the folder all the .png images will be loaded.
    while loading those images if i want to stop or close my application it is not working,
    Please help me.

  2. #2
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    Re: how to stop application while images are loading

    Please can you make the question a bit clearer. Is it that As part of the application you are using a Dialog control and navigating to the folder that it stops responding (since this should have a cancel button is it this that's not working).

    Is it that the folder is part of the project in the VB ide and it stops responding whilst navigating via the IDE?

    When you say Stop the application, do you mean that you have the Application running and that when you browse using explorer to the folder the application stops responding?
    If you find my answers helpful, dont forget to rate me

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: how to stop application while images are loading

    Post your code.

    You need a flag that exits the loop, as well as a DoEvents to catch input while the loop runs
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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