Click here to Skip to main content
15,893,486 members
Home / Discussions / C#
   

C#

 
GeneralRe: GDI Layers Pin
Heroz5-Jan-04 9:50
Heroz5-Jan-04 9:50 
GeneralRe: GDI Layers Pin
Heath Stewart5-Jan-04 9:57
protectorHeath Stewart5-Jan-04 9:57 
Questionstarting other apps? Pin
Peter Reiter5-Jan-04 6:54
Peter Reiter5-Jan-04 6:54 
AnswerRe: starting other apps? Pin
Guillermo Rivero5-Jan-04 7:07
Guillermo Rivero5-Jan-04 7:07 
AnswerRe: starting other apps? Pin
Heath Stewart5-Jan-04 7:15
protectorHeath Stewart5-Jan-04 7:15 
GeneralRe: starting other apps? Pin
Guillermo Rivero5-Jan-04 7:22
Guillermo Rivero5-Jan-04 7:22 
QuestionBest code for this multithreading issue? Pin
profoundwhispers5-Jan-04 6:32
profoundwhispers5-Jan-04 6:32 
AnswerRe: Best code for this multithreading issue? Pin
HAHAHA_NEXT5-Jan-04 7:22
HAHAHA_NEXT5-Jan-04 7:22 
1- Create a global variable to give the pages to download and create 5 other variables to specify which page a tread is currently downloading.
2- Each time a tread finishes to download a page, it increases the global variable by one and sets its own variable to the page it curently downloads.
5- Save on a file, all the 5 variables and the gloabal one. In the case of power goes down, you will simply resume the 5 pages and will continue with the gloabl variable.

Ex:
a,b,c,d,e are the current location of download of all the treads.
g is the gloable variable,
1,2,3 ... 20 are pages to download.
Stuff in bold is already downloaded.
Thus you get:
1 2 3a 4 5 6b 5 7c 8 9 10 11d 12e 13g 14 15

In the case If power goes down, will will simply have to download pages 3,6,7,11,12 and then to continue with pages 13+.
AnswerRe: Best code for this multithreading issue? Pin
Heath Stewart5-Jan-04 7:28
protectorHeath Stewart5-Jan-04 7:28 
Generalcustom save/open file dialog Pin
misterbear5-Jan-04 6:31
misterbear5-Jan-04 6:31 
GeneralRe: custom save/open file dialog Pin
Heath Stewart5-Jan-04 7:13
protectorHeath Stewart5-Jan-04 7:13 
GeneralRe: custom save/open file dialog Pin
misterbear5-Jan-04 8:43
misterbear5-Jan-04 8:43 
GeneralRe: custom save/open file dialog Pin
Heath Stewart5-Jan-04 9:52
protectorHeath Stewart5-Jan-04 9:52 
GeneralEasy Form Question Pin
Guinness4Strength5-Jan-04 6:19
Guinness4Strength5-Jan-04 6:19 
GeneralRe: Easy Form Question Pin
Heath Stewart5-Jan-04 7:04
protectorHeath Stewart5-Jan-04 7:04 
GeneralRe: Easy Form Question Pin
Niels Penneman5-Jan-04 10:11
Niels Penneman5-Jan-04 10:11 
GeneralRun a External EXE File Pin
hxxbin5-Jan-04 6:16
hxxbin5-Jan-04 6:16 
GeneralRe: Run a External EXE File Pin
Heath Stewart5-Jan-04 7:00
protectorHeath Stewart5-Jan-04 7:00 
GeneralRe: Run a External EXE File Pin
hxxbin5-Jan-04 7:07
hxxbin5-Jan-04 7:07 
GeneralRe: Run a External EXE File Pin
Heath Stewart5-Jan-04 7:37
protectorHeath Stewart5-Jan-04 7:37 
GeneralRe: Run a External EXE File Pin
hxxbin5-Jan-04 8:42
hxxbin5-Jan-04 8:42 
GeneralRe: Run a External EXE File Pin
Heath Stewart5-Jan-04 9:37
protectorHeath Stewart5-Jan-04 9:37 
GeneralRe: Run a External EXE File Pin
hxxbin5-Jan-04 11:33
hxxbin5-Jan-04 11:33 
GeneralCryptography Question Pin
Mazdak5-Jan-04 4:09
Mazdak5-Jan-04 4:09 
GeneralRe: Cryptography Question Pin
Heath Stewart5-Jan-04 5:18
protectorHeath Stewart5-Jan-04 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.