Link to home
Start Free TrialLog in
Avatar of LearnITvn
LearnITvn

asked on

How do make a form loading... ( have progress)

How do make a form loading... ( have progress)
I make a program but it loading very low, as i need form progreaa
please, help me
Avatar of RonaldBiemans
RonaldBiemans

What do you mean by have progress ? Do you mean a progress bar. What are you doing in the load event of that form. What causes it to be slow ? A bit more information is needed.
This depends on the amount of operations u are doing in the page_load of the form. If u have a datagrid for example then u might have to use paging to populate the data ( if the data is huge).

Do tell me what are the kind of controls u have in the form the operations u are performing at page_load
Avatar of LearnITvn

ASKER

thanks for reply
1-I want make a form loading have progress bar
2-how do make it?
thanks for reply
1-I want make a form loading have progress bar
2-how do make it?
Hi LearnITvn,

Still a bit more information is needed, What are you doing in the load event (calculations, loading data from a database etc..)

RB
If you could post your form load event, we can  see what is happening?
After showing the form call the refresh method of the form.

f.Show()
f.Refresh()
hi RonaldBiemans
my program loading data from a database
have two form, - progress form & main form
i don't can active main form while progress loading

how do run main form while progress form loading

To wguerram:
I tried f.Show()f.Refresh() but unsuccessful
ASKER CERTIFIED SOLUTION
Avatar of 123654789987
123654789987

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
very good, thanks
Hi LearnITvn,

It looks like it worked for you but i think you forgot to accept the answer.
Hi wguerram
I'm new member
how do accept the answer