Click here to Skip to main content
15,849,907 members
Home / Discussions / C#
   

C#

 
AnswerRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 5:33
sponsorJudah Gabriel Himango3-Jul-07 5:33 
GeneralRe: Compilation Error with Resource strings Pin
jayart3-Jul-07 5:40
jayart3-Jul-07 5:40 
GeneralRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 6:19
sponsorJudah Gabriel Himango3-Jul-07 6:19 
GeneralRe: Compilation Error with Resource strings Pin
jayart3-Jul-07 6:29
jayart3-Jul-07 6:29 
GeneralRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 6:48
sponsorJudah Gabriel Himango3-Jul-07 6:48 
QuestionCan I create a continoues database form Pin
Muhammad Gouda3-Jul-07 4:39
Muhammad Gouda3-Jul-07 4:39 
QuestionC# Threading Gurus input needed (FileSystemWatcher ) Pin
mejax3-Jul-07 4:38
mejax3-Jul-07 4:38 
AnswerRe: C# Threading Gurus input needed (FileSystemWatcher ) Pin
Judah Gabriel Himango3-Jul-07 5:30
sponsorJudah Gabriel Himango3-Jul-07 5:30 
Look up the BackgroundWorker class: it has a DoWork event that fires on a background thread. Do your work there. It has a ProgressChanged (or something) event that fires on the UI thread. You can cause the ProgressChanged event to fire from the background thread by calling worker.ReportProgress(state, percentComplete).

Another option is to get the SynchronizationContext of the UI (using the static System.Windows.Forms.WindowsFormsSynchronizationContext.Current property), then on the background thread, call syncContext.Post(someDelegateToExecute). The someDelegateToExecute method will execute on the UI thread.



Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Back From Vacation
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


AnswerRe: C# Threading Gurus input needed (FileSystemWatcher ) Pin
pbraun3-Jul-07 6:56
pbraun3-Jul-07 6:56 
QuestionHow to update a class property with a timer Pin
pusch3-Jul-07 4:03
pusch3-Jul-07 4:03 
AnswerRe: How to update a class property with a timer Pin
Luc Pattyn3-Jul-07 4:06
sitebuilderLuc Pattyn3-Jul-07 4:06 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 6:13
pusch3-Jul-07 6:13 
GeneralRe: How to update a class property with a timer Pin
Luc Pattyn3-Jul-07 6:30
sitebuilderLuc Pattyn3-Jul-07 6:30 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 7:04
pusch3-Jul-07 7:04 
AnswerRe: How to update a class property with a timer Pin
Jimmanuel3-Jul-07 6:47
Jimmanuel3-Jul-07 6:47 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 7:15
pusch3-Jul-07 7:15 
QuestionText Disappear From MessageBox Pin
Himanshu_ITDevloper3-Jul-07 3:37
Himanshu_ITDevloper3-Jul-07 3:37 
AnswerRe: Text Disappear From MessageBox Pin
Dave Sexton3-Jul-07 3:58
Dave Sexton3-Jul-07 3:58 
AnswerRe: Text Disappear From MessageBox Pin
mfmaneef3-Jul-07 10:45
mfmaneef3-Jul-07 10:45 
QuestionDisappear Text From MessageBox Pin
shah_pranav13-Jul-07 3:20
shah_pranav13-Jul-07 3:20 
AnswerRe: Disappear Text From MessageBox Pin
Judah Gabriel Himango3-Jul-07 5:34
sponsorJudah Gabriel Himango3-Jul-07 5:34 
Questionfetch jpeg image dimension without load it Pin
small_programmer3-Jul-07 3:18
small_programmer3-Jul-07 3:18 
AnswerRe: fetch jpeg image dimension without load it Pin
Pete O'Hanlon3-Jul-07 3:26
subeditorPete O'Hanlon3-Jul-07 3:26 
GeneralRe: fetch jpeg image dimension without load it Pin
small_programmer3-Jul-07 3:39
small_programmer3-Jul-07 3:39 
GeneralRe: fetch jpeg image dimension without load it Pin
Luc Pattyn3-Jul-07 3:45
sitebuilderLuc Pattyn3-Jul-07 3:45 

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.