Click here to Skip to main content
15,891,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Eddy Vluggen23-Apr-13 2:40
professionalEddy Vluggen23-Apr-13 2:40 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex23-Apr-13 2:51
dusty_dex23-Apr-13 2:51 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Member 989133424-Apr-13 3:35
Member 989133424-Apr-13 3:35 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex24-Apr-13 4:08
dusty_dex24-Apr-13 4:08 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Member 989133425-Apr-13 3:50
Member 989133425-Apr-13 3:50 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex23-Apr-13 2:45
dusty_dex23-Apr-13 2:45 
QuestionVery long rtf string loading into RTB, and ContextSwitchDeadlock Pin
treddie22-Apr-13 13:13
treddie22-Apr-13 13:13 
AnswerRe: Very long rtf string loading into RTB, and ContextSwitchDeadlock Pin
Dave Kreskowiak22-Apr-13 14:05
mveDave Kreskowiak22-Apr-13 14:05 
Your app already has a message pump. It always runs on the UI thread (startup thread) and it's the little bugger that triggers that message "Not responding" when your code blocks the UI thread and the message pump can't be processed because of it.

The message you're getting is because COM interop happens through the message pump. You app is using a COM-based component (whether you know it or not) and COM message are not being processed because the message pump is prevented from running by your extremely long running operating (the RTF load).

Adding a second message pump isn't going to accompish anything because it also will be blocked.

The good news is that message only appears when running the code under the debugger. Even better, you can disable it in your app.config. See this[^].

THe better solution would be to NOT load such a massive document into the RTB.

GeneralRe: Very long rtf string loading into RTB, and ContextSwitchDeadlock Pin
treddie22-Apr-13 16:39
treddie22-Apr-13 16:39 
QuestionGlobal Hotkey Pin
Member 878710722-Apr-13 11:01
Member 878710722-Apr-13 11:01 
AnswerRe: Global Hotkey Pin
Dave Kreskowiak22-Apr-13 14:08
mveDave Kreskowiak22-Apr-13 14:08 
GeneralRe: Global Hotkey Pin
Member 878710723-Apr-13 6:33
Member 878710723-Apr-13 6:33 
GeneralRe: Global Hotkey Pin
Dave Kreskowiak23-Apr-13 7:39
mveDave Kreskowiak23-Apr-13 7:39 
QuestionHow to force a new instance when a form is created? Pin
GuyThiebaut22-Apr-13 4:26
professionalGuyThiebaut22-Apr-13 4:26 
AnswerRe: How to force a new instance when a form is created? Pin
Eddy Vluggen22-Apr-13 5:00
professionalEddy Vluggen22-Apr-13 5:00 
GeneralRe: How to force a new instance when a form is created? Pin
GuyThiebaut22-Apr-13 5:09
professionalGuyThiebaut22-Apr-13 5:09 
GeneralRe: How to force a new instance when a form is created? Pin
Eddy Vluggen22-Apr-13 7:58
professionalEddy Vluggen22-Apr-13 7:58 
GeneralRe: How to force a new instance when a form is created? Pin
GuyThiebaut22-Apr-13 8:11
professionalGuyThiebaut22-Apr-13 8:11 
GeneralRe: How to force a new instance when a form is created? Pin
Eddy Vluggen22-Apr-13 8:21
professionalEddy Vluggen22-Apr-13 8:21 
AnswerRe: How to force a new instance when a form is created? Pin
TnTinMn23-Apr-13 18:12
TnTinMn23-Apr-13 18:12 
QuestionSetup issue Pin
SPSandy20-Apr-13 2:48
SPSandy20-Apr-13 2:48 
QuestionString issue Pin
SPSandy20-Apr-13 2:42
SPSandy20-Apr-13 2:42 
AnswerRe: String issue Pin
Richard MacCutchan20-Apr-13 4:41
mveRichard MacCutchan20-Apr-13 4:41 
GeneralRe: String issue Pin
SPSandy20-Apr-13 8:24
SPSandy20-Apr-13 8:24 
GeneralRe: String issue Pin
Richard MacCutchan20-Apr-13 9:27
mveRichard MacCutchan20-Apr-13 9:27 

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.