435,255 Members | 2,575 Online
Need help? Post your question and get tips & solutions from a community of 435,255 IT Pros & Developers. It's quick & easy.

# Progess ...Message

 P: 24 Hi All, I have problem with making a Progress Message. I am doing an analysis in mathematical terms whech takes abt mote than 2 mins . so in that time I want to show user a progressbar taht will show the percentage...... how I will do in Loop - vb: such as for i=0 to 10000000 analysis part how hoing to put progress message? next Please provide some idea if u help me out, thx a lot May 7 '08 #1
4 Replies

 Expert 5K+ P: 8,127 try to use a timer control with the progress bar. May 7 '08 #2

 P: 20 here's how you can show that on a label, it might seem quite resource consuming but at low level progress bars and all other similar work this way I think Expand|Select|Wrap|Line Numbers for i as integer=0 to 10000000  'analysis part ProgressLabel.Text= i*100/10000000 'or ...=i/100000 , obvious right? next   and of course you might wanna use some rounding... May 7 '08 #3

 P: 24 here's how you can show that on a label, it might seem quite resource consuming but at low level progress bars and all other similar work this way I think Expand|Select|Wrap|Line Numbers for i as integer=0 to 10000000  'analysis part ProgressLabel.Text= i*100/10000000 'or ...=i/100000 , obvious right? next   and of course you might wanna use some rounding... Hi Many thx for ur advice, Just I cant understand "ProgressLabel" how can I get that ? Is this control or ...? if u pls explain me bit more, again Thx. May 8 '08 #4

 P: 20 no, it's just a label, I called it ProgressLabel since that's what it shows Expand|Select|Wrap|Line Numbers for i as integer=0 to 10000000 'your analysis label1.text=i/100000 & "%" next   May 8 '08 #5