Click here to Skip to main content
15,887,267 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: This program has potentially unwanted behavior. Pin
Christian Graus18-Jun-09 19:32
protectorChristian Graus18-Jun-09 19:32 
AnswerRe: This program has potentially unwanted behavior. Pin
Dave Kreskowiak19-Jun-09 1:03
mveDave Kreskowiak19-Jun-09 1:03 
GeneralRe: This program has potentially unwanted behavior. Pin
TheMrProgrammer21-Jun-09 5:50
TheMrProgrammer21-Jun-09 5:50 
GeneralRe: This program has potentially unwanted behavior. Pin
Dave Kreskowiak21-Jun-09 7:56
mveDave Kreskowiak21-Jun-09 7:56 
Questionminimode windows application Pin
samvaidy18-Jun-09 12:05
samvaidy18-Jun-09 12:05 
AnswerRe: minimode windows application Pin
Christian Graus18-Jun-09 19:33
protectorChristian Graus18-Jun-09 19:33 
QuestionStatusStrip is not updating from a class. Pin
Musa Biralo18-Jun-09 11:51
Musa Biralo18-Jun-09 11:51 
AnswerRe: StatusStrip is not updating from a class. Pin
Luc Pattyn18-Jun-09 12:01
sitebuilderLuc Pattyn18-Jun-09 12:01 
Hi,

all Control operations need to be handled by the GUI thread, so if you have one handler (here a button click handler) taking too long, the user will be left in the dark until that handler is done, and the GUI thread can continue doing its business, such as updating statusstrip texts.

What you should do is delegate long-winding stuff to some other thread(s); and when they suddenly need to access a Control, you would then need the Control.InvokeRequired/Control.Invoke pattern (except inside the BackgroundWorker.Progress and Completed handlers).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

GeneralRe: StatusStrip is not updating from a class. [modified] Pin
Musa Biralo18-Jun-09 12:17
Musa Biralo18-Jun-09 12:17 
GeneralRe: StatusStrip is not updating from a class. Pin
Luc Pattyn18-Jun-09 13:10
sitebuilderLuc Pattyn18-Jun-09 13:10 
QuestionWaiting for a process to end uses too much CPU. Pin
elajua18-Jun-09 11:50
elajua18-Jun-09 11:50 
AnswerRe: Waiting for a process to end uses too much CPU. Pin
Luc Pattyn18-Jun-09 12:05
sitebuilderLuc Pattyn18-Jun-09 12:05 
GeneralRe: Waiting for a process to end uses too much CPU. Pin
elajua18-Jun-09 14:39
elajua18-Jun-09 14:39 
GeneralRe: Waiting for a process to end uses too much CPU. Pin
Luc Pattyn18-Jun-09 14:52
sitebuilderLuc Pattyn18-Jun-09 14:52 
QuestionAny way to use constructor parameters within "dim as new"? Pin
supercat918-Jun-09 11:38
supercat918-Jun-09 11:38 
Questionwhat is the installation steps for windows application project ? Pin
ahlamissa18-Jun-09 10:23
ahlamissa18-Jun-09 10:23 
AnswerRe: what is the installation steps for windows application project ? Pin
EliottA18-Jun-09 10:53
EliottA18-Jun-09 10:53 
AnswerRe: what is the installation steps for windows application project ? Pin
Dave Kreskowiak18-Jun-09 11:28
mveDave Kreskowiak18-Jun-09 11:28 
QuestionScope (?) Problem in Excel VBA Pin
TheConfusedGuy18-Jun-09 9:29
TheConfusedGuy18-Jun-09 9:29 
AnswerRe: Scope (?) Problem in Excel VBA Pin
Dave Kreskowiak18-Jun-09 9:56
mveDave Kreskowiak18-Jun-09 9:56 
QuestionContext Menu Pin
No-e18-Jun-09 6:23
No-e18-Jun-09 6:23 
AnswerRe: Context Menu Pin
Jon_Boy18-Jun-09 6:37
Jon_Boy18-Jun-09 6:37 
GeneralRe: Context Menu Pin
No-e18-Jun-09 12:08
No-e18-Jun-09 12:08 
GeneralRe: Context Menu Pin
Jon_Boy19-Jun-09 6:09
Jon_Boy19-Jun-09 6:09 
AnswerRe: Context Menu Pin
Bahram.Zarrin27-Jun-09 5:14
Bahram.Zarrin27-Jun-09 5:14 

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.