Click here to Skip to main content
15,895,462 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to play power point files in C# Pin
Richard MacCutchan19-Dec-10 2:57
mveRichard MacCutchan19-Dec-10 2:57 
GeneralRe: how to play power point files in C# Pin
wshcdr20-Dec-10 18:02
wshcdr20-Dec-10 18:02 
AnswerRe: how to play power point files in C# Pin
RaviRanjanKr19-Dec-10 4:48
professionalRaviRanjanKr19-Dec-10 4:48 
Questionhistogram in c# Pin
mohammed alshaweesh18-Dec-10 14:00
mohammed alshaweesh18-Dec-10 14:00 
AnswerRe: histogram in c# Pin
Not Active18-Dec-10 14:05
mentorNot Active18-Dec-10 14:05 
AnswerRe: histogram in c# PinPopular
Dr.Walt Fair, PE18-Dec-10 15:02
professionalDr.Walt Fair, PE18-Dec-10 15:02 
QuestionLoading data from DB asynchronously in win forms Pin
Tridip Bhattacharjee18-Dec-10 6:58
professionalTridip Bhattacharjee18-Dec-10 6:58 
AnswerRe: Loading data from DB asynchronously in win forms Pin
Luc Pattyn18-Dec-10 7:18
sitebuilderLuc Pattyn18-Dec-10 7:18 
The one way to avoid GUI freeze is by using one or more extra threads (instances of Thread, work items for ThreadPool, BackgroundWorkers, whatever), as they act like extra hands to get the work done. So you should obtain the data in a thread, then take the right action to get it into the GUI (a thread cannot access the GUI). And the best solution is the BackgroundWorker!

There are lots of examples around. I have one in my CP Vanity article, which is getting data asynchronously, not from a database, but from a web site (CodeProject), the philosophy is exactly the same though.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: Loading data from DB asynchronously in win forms Pin
Manfred Rudolf Bihy19-Dec-10 3:54
professionalManfred Rudolf Bihy19-Dec-10 3:54 
QuestionHow to port a 32 bit application on 64 bit OS Pin
Aseem Sharma18-Dec-10 6:55
Aseem Sharma18-Dec-10 6:55 
AnswerRe: How to port a 32 bit application on 64 bit OS Pin
Dan Mos18-Dec-10 7:06
Dan Mos18-Dec-10 7:06 
AnswerRe: How to port a 32 bit application on 64 bit OS Pin
jschell20-Dec-10 8:51
jschell20-Dec-10 8:51 
GeneralRe: How to port a 32 bit application on 64 bit OS Pin
Aseem Sharma20-Dec-10 15:42
Aseem Sharma20-Dec-10 15:42 
QuestionWrapped ToolStrip Control Pin
Rafone18-Dec-10 3:09
Rafone18-Dec-10 3:09 
QuestionTrouble with ProcessInfo and UTF-8 parameters string containing a path and/or filename with japanese/chinese/german character for execute a Process Pin
plaguebreath18-Dec-10 2:21
plaguebreath18-Dec-10 2:21 
AnswerRe: Trouble with ProcessInfo and UTF-8 parameters string containing a path and/or filename with japanese/chinese/german character for execute a Process Pin
Luc Pattyn18-Dec-10 3:04
sitebuilderLuc Pattyn18-Dec-10 3:04 
Questionhow to get rid of Windows Mobile Device Center screen when i connect any device to my computer ? Pin
Gali197818-Dec-10 1:26
Gali197818-Dec-10 1:26 
AnswerRe: how to get rid of Windows Mobile Device Center screen when i connect any device to my computer ? Pin
Dave Kreskowiak18-Dec-10 3:05
mveDave Kreskowiak18-Dec-10 3:05 
AnswerRe: how to get rid of Windows Mobile Device Center screen when i connect any device to my computer ? Pin
RaviRanjanKr18-Dec-10 5:21
professionalRaviRanjanKr18-Dec-10 5:21 
QuestionWhat is the equivalent code in c#? Pin
Milad.Biroonvand17-Dec-10 22:05
Milad.Biroonvand17-Dec-10 22:05 
AnswerRe: What is the equivalent code in c#? Pin
RaviRanjanKr17-Dec-10 22:39
professionalRaviRanjanKr17-Dec-10 22:39 
AnswerRe: What is the equivalent code in c#? Pin
Richard MacCutchan17-Dec-10 23:34
mveRichard MacCutchan17-Dec-10 23:34 
AnswerRe: What is the equivalent code in c#? Pin
Luc Pattyn18-Dec-10 1:18
sitebuilderLuc Pattyn18-Dec-10 1:18 
GeneralRe: What is the equivalent code in c#? Pin
Dan Mos18-Dec-10 7:30
Dan Mos18-Dec-10 7:30 
GeneralRe: What is the equivalent code in c#? Pin
Henry Minute18-Dec-10 11:37
Henry Minute18-Dec-10 11:37 

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.