Re: Form Load -> show form... then do stuff by mf_sina
mf_sina
Thu Sep 01 03:02:18 CDT 2005
I think the best way is to put a timer control on a form. so when form is
loaded, timer control will start and put your codes there.
you can set any timerinterval for that timer which in my perspective is the
best solution for your question.
"Mona" <mona@discussions.com> wrote in message
news:%23FclP5mrFHA.1984@tk2msftngp13.phx.gbl...
> Hi Chris,
> How are you doing?
>
> I would suggest you to start your project with a form with a progress or
> some message informing the users that the application is loading
> and in this form put up the code for loading your real form. When the real
> form has completed loading you may place the first startup form
> to hide/unload in the real form's activate event.
>
> I hope this is helpful.
>
>
> Thanks
> Mona
> [Grapecity]
>
> "Chris Thunell" <cthunell@pierceassociates.com> wrote in message
> news:OaFzzEjrFHA.4072@TK2MSFTNGP09.phx.gbl...
>> Right now I have a vb.net windows form project that does a whole bunch of
>> things on the form.load event. The problem with this is that the user
> does
>> not see the form until all the those things are done.
>>
>> Is there a way for a form to be shown first AND THEN have it
>> automatically
>> start to run through my code? (perhaps a different event??? form.paint,
>> form.activate)
>>
>> Right now... the form is running but the user can't see it, and so they
> end
>> up clicking on the application to run again and the user thinks the
> program
>> is slow... AND WE CAN'T HAVE THAT!!!! :)
>>
>> I would like:
>> Basically the form would load
>> i would have a status bar that says "loading data"... and then the form
>> would then show the data once it's loaded
>>
>> Any help would be greatly appreciated!
>> Chris Thunell
>> cthunell@pierceassociates.com
>>
>>
>
>