Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 by Thearon Willis, Bryan Newsome; ISBN: 9780764574016
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 28th, 2006, 12:47 PM
Authorized User
 
Join Date: Feb 2006
Location: Dubai, UAE, United Arab Emirates.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default BackgroundWorker

Dear All,

Could anyone tell me how can I make a project always active? I’m building a software, there is one section that copy Data ‘Huge Data’ from CD/DVD to HDD, as you know while copying if you press anything the form freeze, like the progress bar stop responding, but in the background the software continue copying/working. I’m sure there is a way to make the software always active, and I think BackgroundWorker could solve this problem. If I’m right how can i use it?

Apreicate your help,

Best regards,

PHENOM

>>>PHENOM<<<
__________________
>>>PHENOM<<&amp ;lt;
  #2 (permalink)  
Old March 29th, 2006, 09:10 PM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

The MSDN libaray that ships with Visual Studio 2005 provides three very good examples of how to do this. Open MSDN, click on the Index tab at the bottom of the screen and then type BackgroundWorker Class in the search field. Under the BackgroundWorker Class you'll see the examples link.

Thearon
  #3 (permalink)  
Old March 30th, 2006, 01:37 AM
Authorized User
 
Join Date: Feb 2006
Location: Dubai, UAE, United Arab Emirates.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Thearon
 The MSDN libaray that ships with Visual Studio 2005 provides three very good examples of how to do this. Open MSDN, click on the Index tab at the bottom of the screen and then type BackgroundWorker Class in the search field. Under the BackgroundWorker Class you'll see the examples link.
Thearon
Dear Thearon,

Thank for the reply,

Have you used it before?

I’ve checked it before in the MSND, I followed the example to use it in my project but it didn’t work well, I’m sure that I missed a part, but as you know sometime MSDN examples are not so clear.

Thanks & Regards

PHENOM

>>>PHENOM<<<
  #4 (permalink)  
Old March 30th, 2006, 11:43 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

I've not used this class before. Anyone else out there had experience with this class?

Thearon
  #5 (permalink)  
Old April 22nd, 2006, 01:08 AM
Authorized User
 
Join Date: Feb 2006
Location: Dubai, UAE, United Arab Emirates.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Thearon
 I've not used this class before. Anyone else out there had experience with this class?
Thearon
Dear Thearon,

How are you? still no idea of "How do I force form refresh during operation"?

Regards,

PHENOM

>>>PHENOM<<<
  #6 (permalink)  
Old May 1st, 2006, 05:28 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Phenom,

Your last post states that you want to force a refresh of the form. If this is correct, you can add a timer to your form and put the code Me.Refresh in the timer Elapsed event.

Thearon
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Timer and BackgroundWorker lukaszt C# 0 February 1st, 2007 10:25 AM



All times are GMT -4. The time now is 09:57 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.