Click here to Skip to main content
15,909,953 members
Home / Discussions / C#
   

C#

 
AnswerRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 4:33
sponsorJudah Gabriel Himango3-Jul-07 4:33 
GeneralRe: Compilation Error with Resource strings Pin
jayart3-Jul-07 4:40
jayart3-Jul-07 4:40 
GeneralRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 5:19
sponsorJudah Gabriel Himango3-Jul-07 5:19 
GeneralRe: Compilation Error with Resource strings Pin
jayart3-Jul-07 5:29
jayart3-Jul-07 5:29 
GeneralRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 5:48
sponsorJudah Gabriel Himango3-Jul-07 5:48 
QuestionCan I create a continoues database form Pin
Muhammad Gouda3-Jul-07 3:39
Muhammad Gouda3-Jul-07 3:39 
QuestionC# Threading Gurus input needed (FileSystemWatcher ) Pin
mejax3-Jul-07 3:38
mejax3-Jul-07 3:38 
AnswerRe: C# Threading Gurus input needed (FileSystemWatcher ) Pin
Judah Gabriel Himango3-Jul-07 4:30
sponsorJudah Gabriel Himango3-Jul-07 4: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 5:56
pbraun3-Jul-07 5:56 
QuestionHow to update a class property with a timer Pin
pusch3-Jul-07 3:03
pusch3-Jul-07 3:03 
AnswerRe: How to update a class property with a timer Pin
Luc Pattyn3-Jul-07 3:06
sitebuilderLuc Pattyn3-Jul-07 3:06 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 5:13
pusch3-Jul-07 5:13 
GeneralRe: How to update a class property with a timer Pin
Luc Pattyn3-Jul-07 5:30
sitebuilderLuc Pattyn3-Jul-07 5:30 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 6:04
pusch3-Jul-07 6:04 
AnswerRe: How to update a class property with a timer Pin
Jimmanuel3-Jul-07 5:47
Jimmanuel3-Jul-07 5:47 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 6:15
pusch3-Jul-07 6:15 
QuestionText Disappear From MessageBox Pin
Himanshu_ITDevloper3-Jul-07 2:37
Himanshu_ITDevloper3-Jul-07 2:37 
AnswerRe: Text Disappear From MessageBox Pin
Dave Sexton3-Jul-07 2:58
Dave Sexton3-Jul-07 2:58 
AnswerRe: Text Disappear From MessageBox Pin
mfmaneef3-Jul-07 9:45
mfmaneef3-Jul-07 9:45 
QuestionDisappear Text From MessageBox Pin
shah_pranav13-Jul-07 2:20
shah_pranav13-Jul-07 2:20 
AnswerRe: Disappear Text From MessageBox Pin
Judah Gabriel Himango3-Jul-07 4:34
sponsorJudah Gabriel Himango3-Jul-07 4:34 
Questionfetch jpeg image dimension without load it Pin
small_programmer3-Jul-07 2:18
small_programmer3-Jul-07 2:18 
AnswerRe: fetch jpeg image dimension without load it Pin
Pete O'Hanlon3-Jul-07 2:26
mvePete O'Hanlon3-Jul-07 2:26 
GeneralRe: fetch jpeg image dimension without load it Pin
small_programmer3-Jul-07 2:39
small_programmer3-Jul-07 2:39 
GeneralRe: fetch jpeg image dimension without load it Pin
Luc Pattyn3-Jul-07 2:45
sitebuilderLuc Pattyn3-Jul-07 2: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.