Click here to Skip to main content
15,910,981 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: count character frequency Pin
Cool Smith11-Feb-11 22:19
Cool Smith11-Feb-11 22:19 
GeneralRe: count character frequency Pin
Eddy Vluggen11-Feb-11 23:48
professionalEddy Vluggen11-Feb-11 23:48 
GeneralRe: count character frequency Pin
Cool Smith12-Feb-11 0:42
Cool Smith12-Feb-11 0:42 
GeneralRe: count character frequency Pin
Cool Smith12-Feb-11 4:00
Cool Smith12-Feb-11 4:00 
GeneralRe: count character frequency Pin
Eddy Vluggen12-Feb-11 5:43
professionalEddy Vluggen12-Feb-11 5:43 
QuestionStoring Binary Data in SQL Database with VB.NET Pin
Central_IT10-Feb-11 3:31
Central_IT10-Feb-11 3:31 
AnswerRe: Storing Binary Data in SQL Database with VB.NET Pin
Simon_Whale10-Feb-11 3:41
Simon_Whale10-Feb-11 3:41 
QuestionThreading question; cross thread communication/invokation Pin
Tieske89-Feb-11 23:26
professionalTieske89-Feb-11 23:26 
I am working on a library that uses multiple threads to do all kinds of work. The work being done results in events being generated. Preferably I would like all communications to the outside world to be on a single thread, so most threading issues can be dealt with inside the library.

When using forms there are the standard components with the Invoke methods that let the thread that runs the form call the requested Delegate, so whatever needs to be done (raise an event in my case) gets executed on that form thread.

Is there a way to do this generically, without forms or components? Say I have 1 main thread that spawns 10 or 20 worker threads. And whenever the workers have an event to raise, they let the main thread do this? Is there an easy way (that I just haven't found), or should I be creating some custom threadpool management code to achieve this?

Any thoughts?

If you want something done fast, then do it right (Grissom, CSI)

Thanks for your reply, you just acknowledged my existence

AnswerRe: Threading question; cross thread communication/invokation Pin
Luc Pattyn10-Feb-11 3:46
sitebuilderLuc Pattyn10-Feb-11 3:46 
QuestionRe: Threading question; cross thread communication/invokation Pin
Tieske811-Feb-11 0:14
professionalTieske811-Feb-11 0:14 
AnswerRe: Threading question; cross thread communication/invokation Pin
Luc Pattyn11-Feb-11 0:38
sitebuilderLuc Pattyn11-Feb-11 0:38 
GeneralRe: Threading question; cross thread communication/invokation Pin
Tieske811-Feb-11 2:54
professionalTieske811-Feb-11 2:54 
QuestionGetting Email Address from Exchange Server Pin
Dominick Marciano9-Feb-11 16:49
professionalDominick Marciano9-Feb-11 16:49 
AnswerRe: Getting Email Address from Exchange Server Pin
Eddy Vluggen10-Feb-11 7:22
professionalEddy Vluggen10-Feb-11 7:22 
GeneralRe: Getting Email Address from Exchange Server Pin
Dominick Marciano10-Feb-11 8:19
professionalDominick Marciano10-Feb-11 8:19 
GeneralRe: Getting Email Address from Exchange Server Pin
Eddy Vluggen10-Feb-11 8:41
professionalEddy Vluggen10-Feb-11 8:41 
JokeRe: Getting Email Address from Exchange Server Pin
phil.o10-Feb-11 23:38
professionalphil.o10-Feb-11 23:38 
QuestionCapture Unicode Character From Keyboard Hook Pin
Anubhava Dimri8-Feb-11 18:58
Anubhava Dimri8-Feb-11 18:58 
QuestionIn need of help on VB Pin
Zyprost6-Feb-11 22:56
Zyprost6-Feb-11 22:56 
AnswerRe: In need of help on VB Pin
DaveAuld6-Feb-11 23:10
professionalDaveAuld6-Feb-11 23:10 
AnswerRe: In need of help on VB Pin
Dave Kreskowiak7-Feb-11 2:01
mveDave Kreskowiak7-Feb-11 2:01 
GeneralRe: In need of help on VB Pin
Zyprost7-Feb-11 5:05
Zyprost7-Feb-11 5:05 
GeneralRe: In need of help on VB Pin
Dave Kreskowiak7-Feb-11 6:21
mveDave Kreskowiak7-Feb-11 6:21 
GeneralRe: In need of help on VB Pin
Eddy Vluggen7-Feb-11 6:53
professionalEddy Vluggen7-Feb-11 6:53 
GeneralRe: In need of help on VB Pin
Zyprost7-Feb-11 16:47
Zyprost7-Feb-11 16:47 

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.