Click here to Skip to main content
15,926,035 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionNew to VB...looking for some help... Pin
CCG326-Aug-06 6:08
CCG326-Aug-06 6:08 
AnswerRe: New to VB...looking for some help... Pin
Keith Malwitz26-Aug-06 6:51
Keith Malwitz26-Aug-06 6:51 
AnswerRe: New to VB...looking for some help... Pin
Guffa26-Aug-06 6:56
Guffa26-Aug-06 6:56 
QuestionCan not resize Controls [modified] Pin
mtone26-Aug-06 4:42
mtone26-Aug-06 4:42 
QuestionWant to change traped keycode Pin
hisuman10026-Aug-06 1:08
hisuman10026-Aug-06 1:08 
AnswerRe: Want to change traped keycode Pin
progload26-Aug-06 6:11
progload26-Aug-06 6:11 
Questionquerying different domain on remote computer using wmi Pin
venkatindy25-Aug-06 14:43
venkatindy25-Aug-06 14:43 
QuestionProblems with multithreading - HELP [modified] Pin
david@mindplay.com25-Aug-06 12:56
david@mindplay.com25-Aug-06 12:56 
First of all, let me state that I am new to multithreading.

I am working on a project that makes constant queries to a network device via a tcp connection.

These queries can generally take about a third to a half a second to complete.

As it stands I am creating several (4-5) separate threads that loop and make queries then report the result data to my main thread. Each thread maintains it's own tcp connection to the device.

Each of the threads is set to sleep for an entire second each loop cycle, each of the threads is set to lowest priority.

Yet CPU usage is through the roof. And i'm using a modern 3+ ghz machine. Why is my application eating up so much CPU time?

Is there a cure for this, am I doing something wrong?

Please help.


-- modified at 19:01 Friday 25th August, 2006
AnswerRe: Problems with multithreading - HELP Pin
david@mindplay.com25-Aug-06 13:56
david@mindplay.com25-Aug-06 13:56 
Questionwrite results to text file Pin
playout25-Aug-06 10:43
playout25-Aug-06 10:43 
AnswerRe: write results to text file Pin
Christian Graus27-Aug-06 3:08
protectorChristian Graus27-Aug-06 3:08 
GeneralRe: write results to text file Pin
playout28-Aug-06 4:24
playout28-Aug-06 4:24 
Questionvb equivalent textmatrix for grid Pin
saxduck25-Aug-06 8:52
saxduck25-Aug-06 8:52 
Questioncreating usercontrol using wizard Pin
saxduck25-Aug-06 8:27
saxduck25-Aug-06 8:27 
AnswerRe: creating usercontrol using wizard Pin
playout25-Aug-06 10:47
playout25-Aug-06 10:47 
Question"Unadvising" Event Sink in VB6 Pin
Ilia Blank25-Aug-06 7:46
Ilia Blank25-Aug-06 7:46 
GeneralRe: "Unadvising" Event Sink in VB6 Pin
Guffa25-Aug-06 8:54
Guffa25-Aug-06 8:54 
GeneralRe: "Unadvising" Event Sink in VB6 Pin
Elina Blank30-Aug-06 4:12
sitebuilderElina Blank30-Aug-06 4:12 
QuestionHow to use Visual basic to capture the image from the website consistantly [modified] Pin
estin25-Aug-06 6:58
estin25-Aug-06 6:58 
AnswerRe: How to use Visual basic to capture the image from the website consistantly Pin
progload25-Aug-06 11:17
progload25-Aug-06 11:17 
QuestionHow to remove RowPointer column in DatagridView Pin
Ali 11025-Aug-06 5:11
Ali 11025-Aug-06 5:11 
AnswerRe: How to remove RowPointer column in DatagridView Pin
Keith Malwitz25-Aug-06 11:56
Keith Malwitz25-Aug-06 11:56 
GeneralRe: How to remove RowPointer column in DatagridView Pin
Ali 11027-Aug-06 22:22
Ali 11027-Aug-06 22:22 
QuestionRe: How to remove RowPointer column in DatagridView Pin
Ali 11027-Aug-06 22:32
Ali 11027-Aug-06 22:32 
QuestionSystem.Diagnostics.StackTrace() giving inconsistent results [modified] Pin
mr_lasseter25-Aug-06 4:48
mr_lasseter25-Aug-06 4:48 

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.