By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,983 Members | 2,082 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,983 IT Pros & Developers. It's quick & easy.

VB Message Box

P: 18
Hi

I have a process running which copies a database to 2 different locations, this is fine but I am wanting to know if there is anyway of creating a Msgbox or something similar to inform the user that there is a process being carried out. At the moment it looks like nothing is happening.

I then have a Msgbox at the end of the process saying everything copied successfully.

Thanks in advance

Andy
Apr 14 '08 #1
Share this Question
Share on Google+
3 Replies


jamesd0142
100+
P: 469
have a label and set its text to "Started"
like thie

label1.text = "Started"
label1.refresh

at the top of the code

then at the end of the code

put

label1.text = "Finished"
label1.refresh

That works for me


Example -vb2005

Expand|Select|Wrap|Line Numbers
  1. label1.text = "Started"
  2. label1.refresh
  3.  
  4. Process to be run
  5.  
  6. label1.text = "Stopped"
  7. label1.refresh
  8.  
James
Apr 14 '08 #2

lotus18
100+
P: 866
.. Or you can show a progress bar.

Rey Sean
Apr 14 '08 #3

Ali Rizwan
100+
P: 927
Check in howto's section. You will find my thread if not then search for Custom MsgBox you will find a better msgbox which you can easily modify for your needs.

Regards
>> ALI <<
Apr 14 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.