Click here to Skip to main content
15,891,567 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionExcel column formatting issue, format style changed when formatted again with the same style Pin
BREdwards18-May-09 3:36
BREdwards18-May-09 3:36 
AnswerRe: Excel column formatting issue, format style changed when formatted again with the same style Pin
Johan Hakkesteegt19-May-09 3:06
Johan Hakkesteegt19-May-09 3:06 
QuestionCompare 2 Excel Sheets Pin
vijay248218-May-09 3:25
vijay248218-May-09 3:25 
AnswerRe: Compare 2 Excel Sheets Pin
dan!sh 18-May-09 4:08
professional dan!sh 18-May-09 4:08 
QuestionHow to merge columns Pin
Pankaj Garg18-May-09 0:20
Pankaj Garg18-May-09 0:20 
AnswerRe: How to merge columns Pin
Dave Kreskowiak18-May-09 1:52
mveDave Kreskowiak18-May-09 1:52 
QuestionBackgroundWorkers 'RunWorkerCompleted' not fired Pin
Sonhospa17-May-09 23:38
Sonhospa17-May-09 23:38 
AnswerRe: BackgroundWorkers 'RunWorkerCompleted' not fired Pin
Dave Kreskowiak18-May-09 4:06
mveDave Kreskowiak18-May-09 4:06 
You can remove the Monitor lines - you don't need them.

From what I've read in your code, it looks like you can also change the SyncLocks. You may also want to cahnge your design a bit. You can have one thread adding items to a Queue collection, wrapped by SyncLocks on the Queue synch object. Then you can have the other thread pulling items out of the Queue to process them, again wrapping the calls to Queue in SyncLocks.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionRe: BackgroundWorkers 'RunWorkerCompleted' not fired Pin
Sonhospa18-May-09 9:11
Sonhospa18-May-09 9:11 
AnswerRe: BackgroundWorkers 'RunWorkerCompleted' not fired Pin
Dave Kreskowiak18-May-09 10:01
mveDave Kreskowiak18-May-09 10:01 
NewsRe: BackgroundWorkers 'RunWorkerCompleted' not fired Pin
Sonhospa18-May-09 10:12
Sonhospa18-May-09 10:12 
GeneralRe: BackgroundWorkers 'RunWorkerCompleted' not fired Pin
Dave Kreskowiak18-May-09 13:13
mveDave Kreskowiak18-May-09 13:13 
GeneralRe: BackgroundWorkers 'RunWorkerCompleted' not fired Pin
Sonhospa18-May-09 20:14
Sonhospa18-May-09 20:14 
GeneralRe: BackgroundWorkers 'RunWorkerCompleted' not fired Pin
Dave Kreskowiak19-May-09 17:14
mveDave Kreskowiak19-May-09 17:14 
NewsRe: BackgroundWorkers 'RunWorkerCompleted' not fired - Resolved Pin
Sonhospa18-May-09 10:53
Sonhospa18-May-09 10:53 
QuestionConvert Text file into Excel file Pin
vijay248217-May-09 23:14
vijay248217-May-09 23:14 
AnswerRe: Convert Text file into Excel file Pin
Rajesh Anuhya17-May-09 23:29
professionalRajesh Anuhya17-May-09 23:29 
GeneralRe: Convert Text file into Excel file Pin
vijay248218-May-09 0:09
vijay248218-May-09 0:09 
GeneralRe: Convert Text file into Excel file Pin
Rajesh Anuhya18-May-09 0:36
professionalRajesh Anuhya18-May-09 0:36 
AnswerClarification Please Pin
Dalek Dave17-May-09 23:29
professionalDalek Dave17-May-09 23:29 
GeneralRe: Clarification Please Pin
vijay248217-May-09 23:55
vijay248217-May-09 23:55 
QuestionText is getting typed into another text box Pin
tiagu17-May-09 22:33
tiagu17-May-09 22:33 
AnswerRe: Text is getting typed into another text box Pin
Johan Hakkesteegt18-May-09 0:12
Johan Hakkesteegt18-May-09 0:12 
GeneralRe: Text is getting typed into another text box [modified] Pin
tiagu18-May-09 0:50
tiagu18-May-09 0:50 
GeneralRe: Text is getting typed into another text box Pin
Johan Hakkesteegt18-May-09 0:54
Johan Hakkesteegt18-May-09 0:54 

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.