473,406 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Progess ...Message

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 902
debasisdas
8,127 Expert 4TB
try to use a timer control with the progress bar.
May 7 '08 #2
kuzen
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
  1. for i as integer=0 to 10000000 
  2. 'analysis part
  3. ProgressLabel.Text= i*100/10000000 'or ...=i/100000 , obvious right?
  4. next
  5.  
and of course you might wanna use some rounding...
May 7 '08 #3
shaif
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
  1. for i as integer=0 to 10000000 
  2. 'analysis part
  3. ProgressLabel.Text= i*100/10000000 'or ...=i/100000 , obvious right?
  4. next
  5.  
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
kuzen
20
no, it's just a label, I called it ProgressLabel since that's what it shows
Expand|Select|Wrap|Line Numbers
  1. for i as integer=0 to 10000000
  2. 'your analysis
  3. label1.text=i/100000 & "%"
  4. next
  5.  
May 8 '08 #5

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

Similar topics

8
by: Brian Keating EI9FXB | last post by:
Would I be correct in saying that the only way to get a user message into a Windows form would be to use P/Invoke with Message? Of is there some part of the .NET API that I am totally un aware...
3
by: Dave Brown | last post by:
Hi All, Is it possible to examine the progress of a XMLDocument.Load method ? Sometimes my documents might be quite large so I want to give the user some indication of the size and progress. ...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
2
by: Microsoft News | last post by:
What I have is a message box that pops up. It is another browser window. The code is a general function that you pass message, title and a key to. The box works great except, that if you are on a...
7
by: David W. Fenton | last post by:
If you thought the Windows "copying files" progress bar was tupid (as it will say "3 minutes remaining" then "6 hours" then "15 seconds" and so forth), I've got an even worse one. I was at a...
0
by: ronscottlangham | last post by:
I am working on a custom WCF EndpoingBehavior that will modify the messages coming in and out of my Service. I am having an error related to the modification of the message in the...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
3
by: Steven Allport | last post by:
I am working on processing eml email message using the email module (python 2.5), on files exported from an Outlook PST file, to extract the composite parts of the email. In most instances this...
0
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.