Click here to Skip to main content
16,004,901 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: time bomb Pin
Eddy Vluggen27-Feb-09 23:14
professionalEddy Vluggen27-Feb-09 23:14 
GeneralRe: time bomb Pin
Luc Pattyn28-Feb-09 0:38
sitebuilderLuc Pattyn28-Feb-09 0:38 
GeneralRe: time bomb Pin
Eddy Vluggen28-Feb-09 3:06
professionalEddy Vluggen28-Feb-09 3:06 
QuestionHow could I integrate a progress bar if datawriter wirtes the image at once? Pin
JUNEYT27-Feb-09 11:52
JUNEYT27-Feb-09 11:52 
AnswerRe: How could I integrate a progress bar if datawriter wirtes the image at once? Pin
Dave Kreskowiak27-Feb-09 17:46
mveDave Kreskowiak27-Feb-09 17:46 
Questionusing downloads Pin
megacharged27-Feb-09 10:57
megacharged27-Feb-09 10:57 
AnswerRe: using downloads Pin
Curtis Schlak.27-Feb-09 12:46
Curtis Schlak.27-Feb-09 12:46 
QuestionHelp spawing more then 25 threads per processor in a thread pool Pin
PoweredByOtgc27-Feb-09 10:14
PoweredByOtgc27-Feb-09 10:14 
need some guidance, I have a collection of properties 166 to be spacific, each object in the collection will spawn a thread to perform a long running task, I also want to pump meessages back to the calling thread. threadpool will provide me the solution unfortunatly MS has limited the number of threads to 25 per processor, simple math will tell me that I need a huge box.

so that another approach would be to loop from 0 to max threadpool and spawn an instance of a thread pulling the objectid from the collection based on the threadid. that's fine or the first 50 objects. how would I now pull the remaing objects from the collection.

example

for i as 0 to threadpool.maxthreads -1
dim node as basenode = basecollection(i)
dim rem as new workernode(node)
addhandler rem.messageback new messagehandler(addressof OnMessagesReceived)
rem.dowork
next

assuming dual CPU will make the maxthread value be 50 and my basecollection will hold 166 objects
I am stuck spawning objects 51-165
AnswerRe: Help spawing more then 25 threads per processor in a thread pool Pin
Dave Kreskowiak27-Feb-09 10:49
mveDave Kreskowiak27-Feb-09 10:49 
GeneralRe: Help spawing more then 25 threads per processor in a thread pool Pin
PoweredByOtgc28-Feb-09 4:57
PoweredByOtgc28-Feb-09 4:57 
QuestionCopy File From One Location To Another + Urgent + Sourabh Das Pin
Dot Net Jantu27-Feb-09 5:39
Dot Net Jantu27-Feb-09 5:39 
AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
kriskomar27-Feb-09 5:51
kriskomar27-Feb-09 5:51 
AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
Luc Pattyn27-Feb-09 6:04
sitebuilderLuc Pattyn27-Feb-09 6:04 
AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
PoweredByOtgc27-Feb-09 10:27
PoweredByOtgc27-Feb-09 10:27 
GeneralRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
Luc Pattyn27-Feb-09 11:35
sitebuilderLuc Pattyn27-Feb-09 11:35 
QuestionUpgrading VB6 to VB.net printing problem Pin
tbkfile27-Feb-09 5:08
tbkfile27-Feb-09 5:08 
AnswerRe: Upgrading VB6 to VB.net printing problem Pin
Sebastian Br.27-Feb-09 7:43
Sebastian Br.27-Feb-09 7:43 
GeneralRe: Upgrading VB6 to VB.net printing problem Pin
tbkfile27-Feb-09 18:36
tbkfile27-Feb-09 18:36 
QuestionDataset containing nullable datetime values does not like a null datetime? Pin
kriskomar27-Feb-09 4:56
kriskomar27-Feb-09 4:56 
AnswerRe: Dataset containing nullable datetime values does not like a null datetime? Pin
johnsontroye27-Feb-09 9:38
johnsontroye27-Feb-09 9:38 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar27-Feb-09 9:59
kriskomar27-Feb-09 9:59 
AnswerRe: Dataset containing nullable datetime values does not like a null datetime? Pin
PoweredByOtgc28-Feb-09 5:07
PoweredByOtgc28-Feb-09 5:07 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar1-Mar-09 6:00
kriskomar1-Mar-09 6:00 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
PoweredByOtgc1-Mar-09 6:32
PoweredByOtgc1-Mar-09 6:32 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar1-Mar-09 14:58
kriskomar1-Mar-09 14:58 

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.