Click here to Skip to main content
15,903,385 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRefresh connection or port to Remote DB Pin
nishkarsh_k21-Dec-07 20:10
nishkarsh_k21-Dec-07 20:10 
GeneralRe: Refresh connection or port to Remote DB Pin
Dave Kreskowiak22-Dec-07 4:55
mveDave Kreskowiak22-Dec-07 4:55 
GeneralRe: Refresh connection or port to Remote DB Pin
nishkarsh_k22-Dec-07 20:48
nishkarsh_k22-Dec-07 20:48 
GeneralRe: Refresh connection or port to Remote DB [modified] Pin
Dave Kreskowiak23-Dec-07 4:21
mveDave Kreskowiak23-Dec-07 4:21 
GeneralPopulate ListView from TreeView Pin
ExcelMonkey21-Dec-07 6:00
ExcelMonkey21-Dec-07 6:00 
GeneralRe: Populate ListView from TreeView Pin
Dave Kreskowiak21-Dec-07 6:12
mveDave Kreskowiak21-Dec-07 6:12 
GeneralMultithreading Problem : Threads die before complete their assigned task Pin
Rupesh Kumar Swami21-Dec-07 2:42
Rupesh Kumar Swami21-Dec-07 2:42 
GeneralRe: Multithreading Problem : Threads die before complete their assigned task Pin
Dave Kreskowiak21-Dec-07 3:10
mveDave Kreskowiak21-Dec-07 3:10 
Probably because your downloading 175 files all at once. File download operations are probably timing out because of bunch of threads are all waiting on one to use the network pipe. What you're doing is not efficient at all because the network pipe is not really multithread capable. Only one thread can access the network pipe at a time.

Limit your downloads to only a few threads at a time and it should work. Multithreading does NOT make your application faster, nor does it reduce the amount of time it takes to download a group of files. All it does it make your application responsive during a long running operation.


A guide to posting questions on CodeProject[^]



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




GeneralRe: Multithreading Problem : Threads die before complete their assigned task Pin
Rupesh Kumar Swami21-Dec-07 4:00
Rupesh Kumar Swami21-Dec-07 4:00 
GeneralRe: Multithreading Problem : Threads die before complete their assigned task Pin
MidwestLimey21-Dec-07 5:15
professionalMidwestLimey21-Dec-07 5:15 
GeneralRe: Multithreading Problem : Threads die before complete their assigned task Pin
Dave Kreskowiak21-Dec-07 6:09
mveDave Kreskowiak21-Dec-07 6:09 
GeneralRe: Multithreading Problem : Threads die before complete their assigned task Pin
MidwestLimey21-Dec-07 6:40
professionalMidwestLimey21-Dec-07 6:40 
Questionwildcard search [modified] Pin
BOREC21-Dec-07 0:43
BOREC21-Dec-07 0:43 
GeneralRe: wildcard search Pin
Dave Kreskowiak21-Dec-07 3:04
mveDave Kreskowiak21-Dec-07 3:04 
GeneralRe: wildcard search Pin
BOREC21-Dec-07 8:33
BOREC21-Dec-07 8:33 
GeneralRe: wildcard search Pin
Dave Kreskowiak21-Dec-07 9:07
mveDave Kreskowiak21-Dec-07 9:07 
GeneralRe: wildcard search Pin
Luc Pattyn21-Dec-07 15:34
sitebuilderLuc Pattyn21-Dec-07 15:34 
GeneralRe: wildcard search Pin
Dave Kreskowiak21-Dec-07 15:52
mveDave Kreskowiak21-Dec-07 15:52 
GeneralRe: wildcard search Pin
Luc Pattyn22-Dec-07 4:18
sitebuilderLuc Pattyn22-Dec-07 4:18 
GeneralRe: wildcard search Pin
ChandraRam23-Dec-07 22:31
ChandraRam23-Dec-07 22:31 
QuestionHow to add shape controls to pictuirebox in vb.net Pin
VB 8.021-Dec-07 0:36
VB 8.021-Dec-07 0:36 
AnswerRe: How to add shape controls to pictuirebox in vb.net Pin
Dave Kreskowiak21-Dec-07 1:56
mveDave Kreskowiak21-Dec-07 1:56 
GeneralRe: How to add shape controls to pictuirebox in vb.net Pin
VB 8.021-Dec-07 3:01
VB 8.021-Dec-07 3:01 
GeneralRe: How to add shape controls to pictuirebox in vb.net Pin
Dave Kreskowiak21-Dec-07 3:32
mveDave Kreskowiak21-Dec-07 3:32 
GeneralRe: How to add shape controls to panel in vb.net Pin
VB 8.021-Dec-07 20:47
VB 8.021-Dec-07 20: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.