471,577 Members | 1,616 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Own Dummy Progress bar -Not moving- how to make it work.

Hi There!!!
I am new to C# world.
I am getting huge chunk of data from a 3rd party applications thru SOAP request and updating to my SQL Server.
I cant implement Progress bar as there is no way to know how much data i will get back and its a complicated process.
So i decided to use a dummy progress bar, that is 5 moving dots, Which in turn gives user feeling of some progress happening.
But if i comment the actual getting data part (GetDataFromTally) progress bar moves. When i uncomment, my dots are not moving.
Actual code i pasted below.
What might be the problem and what i have to do to overcome this problem.
I am greatly helpful if some geek shows me some light on this...
Thanks in advance

private void GetData(object sender, EventArgs e)
System.Windows.Forms.Timer GetDataTimer = new System.Windows.Forms.Timer();
GetDataTimer.Interval = 300;
GetDataTimer.Enabled = true;
GetDataTimer.Tick += new System.EventHandler(OnTimerEvent);
errMsg = GetTallyData.GetDataFromTally();

//lblProgress font = Wingdings, so l = a dot symbol,
private void OnTimerEvent(object source, EventArgs e)
if (lblProgress.Text.Length == 5)
{ lblProgress.Text = ""; }
else if (lblProgress.Text.Length == 0)
{ lblProgress.Text = "l"; }
{ lblProgress.Text += "l"; }
May 9 '07 #1
0 1164

Post your reply

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

Similar topics

1 post views Thread by Elliott B. | last post: by
2 posts views Thread by Kurien Baker Fenn | last post: by
4 posts views Thread by aj | last post: by
14 posts views Thread by Todd Denlinger | last post: by
6 posts views Thread by Shawn Regan | last post: by
2 posts views Thread by Geoff Jones | last post: by
2 posts views Thread by Diogo Alves - Software Developer | last post: by
6 posts views Thread by jim | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by Vinnie | last post: by
1 post views Thread by lumer26 | last post: by

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.