Click here to Skip to main content
15,899,937 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i want to display progress bar while crystal report is loading...how can i do that..help me out....
Posted
Updated 23-Mar-12 3:19am
v2

1 solution

Did you try looking for a solution on google[^]?

You don't specify if this is a windows form project or a web one. Please use the Improve Question link and add more tags or just type more information into your question so we can help you better. What have you tried so far? Can you paste your relevant code? Why isn't that code working? What error messages do you get?

Also as a side note, I had a windows forms project that had crystal reports. I kind of assumed that I wouldn't be able to do a real progress bar because I'd have no way of knowing the actual percent of progress while it was loading. I just use a panel with an animated gif. That way the user can see that it's working but it doesn't communicated exactly how much work is left to do. I don't know for sure, but I'm guessing a full progress bar might not be very easily doable.
 
Share this answer
 
v2
Comments
DileepkumarReddy 24-Mar-12 3:03am    
it is windows application...how would i run loop...what is the maximum value of progress bar..
Kschuler 26-Mar-12 9:23am    
I have no idea what you mean by "how would i run loop". What are you looping? Can you show us the code you are working with? Usually when using a progress bar, you use values of 0 to 100 which represent the value of the percentage of work that has been completed. You can find out more information on the progress bar class here:
http://msdn.microsoft.com/en-us/library/system.windows.controls.progressbar.aspx

Or search for examples and tutorials on google or code project. Here is a sample on code project:
http://www.codeproject.com/Articles/99143/BackgroundWorker-Class-Sample-for-Beginners

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900