Click here to Skip to main content
       

C#

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: SaveFileDialog and OverwritePromptmemberjibesh24-Jan-13 9:59 
GeneralRe: SaveFileDialog and OverwritePromptmemberGenJerDan24-Jan-13 10:01 
GeneralRe: SaveFileDialog and OverwritePromptmemberjibesh24-Jan-13 10:11 
GeneralRe: SaveFileDialog and OverwritePromptmemberGenJerDan24-Jan-13 10:18 
GeneralRe: SaveFileDialog and OverwritePromptmemberjibesh24-Jan-13 10:23 
GeneralRe: SaveFileDialog and OverwritePromptmemberGenJerDan24-Jan-13 11:18 
GeneralRe: SaveFileDialog and OverwritePromptmemberAlan N24-Jan-13 9:39 
AnswerRe: SaveFileDialog and OverwritePromptmemberBobJanova24-Jan-13 22:22 
GeneralRe: SaveFileDialog and OverwritePromptmemberGenJerDan25-Jan-13 3:13 
AnswerRe: SaveFileDialog and OverwritePromptmembermicke.andersson28-Jan-13 2:44 
GeneralRe: SaveFileDialog and OverwritePromptmemberGenJerDan28-Jan-13 3:10 
QuestionThread with Message PumpmemberRichard Andrew x6424-Jan-13 1:56 
AnswerRe: Thread with Message PumpmvpEddy Vluggen24-Jan-13 2:49 
Richard Andrew x64 wrote:
1. Create a hidden Form and override the WndProc function?

No, that thread is meant to handle the UI. It'll hang (along with the UI) if it's already busy, as stated in point 2.
 
Richard Andrew x64 wrote:
2. Use a Background Worker? (The problem with the Background Worker is that you can't send it a message if it's already busy.)

One can only process one thing at a time. You could consider queuing the request, or to use multiple threads.
 
Richard Andrew x64 wrote:
3. Use a loop with an AutoResetEvent to wait for new messages?

Loop within a Thread[^] from the ThreadPool. Easiest would be to check for new items at the begin of the loop Smile | :)
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

AnswerRe: Thread with Message PumpmemberPaulo Zemek24-Jan-13 3:49 
AnswerRe: Thread with Message PumpmemberBobJanova24-Jan-13 4:22 
QuestionEnding session and back button after logoutgroupraviwebwonders24-Jan-13 0:24 
AnswerRe: Ending session and back button after logoutmemberSimon_Whale24-Jan-13 0:36 
GeneralRe: Ending session and back button after logoutgroupsahavasiwebwonders24-Jan-13 0:41 
AnswerRe: Ending session and back button after logoutmemberBobJanova24-Jan-13 1:28 
GeneralRe: Ending session and back button after logoutgroupsahavasiwebwonders24-Jan-13 18:59 
QuestionTally IntegrationmemberAtul Ankush Bhabal23-Jan-13 22:38 
AnswerRe: Tally IntegrationprotectorPete O'Hanlon23-Jan-13 22:43 
QuestionHow check if a record exists before running the code to delete the record?memberMember 964160223-Jan-13 22:37 
AnswerRe: How check if a record exists before running the code to delete the record?member d@nish 23-Jan-13 22:57 
AnswerRe: How check if a record exists before running the code to delete the record?mvpRichard MacCutchan23-Jan-13 23:01 
AnswerRe: How check if a record exists before running the code to delete the record?mvpEddy Vluggen24-Jan-13 0:43 
AnswerRe: How check if a record exists before running the code to delete the record?memberV.24-Jan-13 1:57 
AnswerRe: How check if a record exists before running the code to delete the record?memberPIEBALDconsult24-Jan-13 4:40 
AnswerRe: How check if a record exists before running the code to delete the record?memberpt140125-Jan-13 9:15 
Questionneed the project code in c#memberMember 978198223-Jan-13 21:58 
GeneralRe: need the project code in c#memberPIEBALDconsult23-Jan-13 22:01 
AnswerRe: need the project code in c#protectorPete O'Hanlon23-Jan-13 22:18 
AnswerRe: need the project code in c#memberpt140125-Jan-13 9:16 
QuestionExasperated by MSMQmemberGer Hayden23-Jan-13 21:52 
AnswerRe: Exasperated by MSMQmvpAbhinav S23-Jan-13 22:34 
GeneralRe: Exasperated by MSMQmemberGer Hayden24-Jan-13 2:51 
GeneralRe: Exasperated by MSMQmemberGer Hayden26-Jan-13 0:45 
AnswerRe: Exasperated by MSMQmemberjschell24-Jan-13 8:45 
GeneralRe: Exasperated by MSMQmemberGer Hayden24-Jan-13 9:21 
QuestionImporting Images onto Design StagememberASPnoob23-Jan-13 18:03 
AnswerRe: Importing Images onto Design StagemvpEddy Vluggen24-Jan-13 0:40 
Questionstring[] to Microsoft.Exchange.Data.MultiValuedPropertymemberJD8623-Jan-13 12:22 
AnswerRe: string[] to Microsoft.Exchange.Data.MultiValuedPropertymemberjibesh23-Jan-13 13:28 
GeneralRe: string[] to Microsoft.Exchange.Data.MultiValuedPropertymemberJD8625-Jan-13 3:41 
QuestionI need help with my drag and drop codemembercdaviesp23-Jan-13 10:24 
AnswerRe: I need help with my drag and drop codememberpt140125-Jan-13 9:19 
Questionnested try catch block [modified]member000mann00023-Jan-13 6:59 
GeneralRe: nested try catch blockmemberPIEBALDconsult23-Jan-13 7:06 
GeneralRe: nested try catch blockmember000mann00023-Jan-13 7:11 
GeneralRe: nested try catch blockmemberPIEBALDconsult23-Jan-13 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130617.1 | Last Updated 18 Jun 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid