Results 1 to 2 of 2

Thread: forcing a form to completly appear before moving on

  1. #1

    Thread Starter
    Hyperactive Member r0k3t's Avatar
    Join Date
    Dec 2005
    Location
    Cleveland
    Posts
    361

    forcing a form to completly appear before moving on

    Hi there,

    I have a nifty little program that sorts through some HTML, blah blah blah... We have all had to do this horrible job at one time or another. So now it is done. That is not the issue - this is...

    I created this fancy little animated gif. I stuck it on an extra form that I call to show right before I process the HTML (which takes a couplle of seconds). Problem is that the form never fully appears it is just sorda half shows up the HTML processes and then it gets closed.

    Is there some way to make sure that it appears and that the gif is showing and entertaining the user before the program moves on?

    Thanks

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: forcing a form to completly appear before moving on

    Are you doing all of your work in the Form_Load method?

    Look into using a backgroundworker to do all of your processing while leaving your interface thread responsive.

    http://msdn2.microsoft.com/en-us/lib...undworker.aspx

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