start progress bar automatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I worked on Windows application.
I made a application to covert flat file to insert database.
currently, I made a button to display progress bar after clicking the button.
I just want to load automatically after clicking application.exe file
without clicking the button on the form loaded.

is there any way to load form and start automatically without clicking any
button?
 
KenLee,

Your Form has a Load EventHandler (you can stub this method out by just
double-clicking an empty area of your Form in design view).
Put your code that the button previously ran inside this method.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top