Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Background worker component and progress bar
March 13, 2009
Now in my windows application i want to take back up and restore database operation using ms sql server 2005. I finished this. But i want to integrate progress bar when backup operation running and same for restoring. I got the idea about background worker process. but i don't know how to integrate this process with that. \
I have class file for data layer and one method called backup in this class. So when i press a backup button i just called this method. Now how to integrate this with backup process and progress bar. For Backup i used Backup class off Microsoft.SqlServer.Smo object
Posted Date: March 15, 2009 Points: 5
You can use threading and assign the backup part to the threading..now to invoke porgress bar you declare a delegate and the reference function which will update the progress bar invoke from the delegate.
Now to update the delegate you can use Invoke method of the progress bar
Mark As Answer
" if this post help you.
Posted Date: March 16, 2009 Points: 5
thanks amit...i found and finished
To post reply
Related Questions Related Questions
Exception While using BackGround Worker Exception has been thrown by the target of an invocation
Background Worker With Timer in C#.Net
change background color of cell in Gridview programatically
About "com " component
Change the background color of Gridview cell programmatically
What is the difference between component,tier and layer?
Display Progress bar after button click in asp.net
Progress Bar with Threading in Win App
Setting the image as background for the form in widows form application
Latest Forum Questions From The Same Category
database is read-only.
editor for visual basic with c#.net
How to get phone number in .Net windows application?
while accessing method from proxy giving an unauthorized access
How to make search between two dates accept null not obligatory search proplem
Create a Windows form application using Excel as database..
Recieve Data From Serial Com Port C# In One Line And Convert To integer
display parent data and child data as a row group in one datagridview using c# winform
enter key event in windows app c#.net
windows appplication c#.net
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend