Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
Generaltest (just ignore) [modified] Pin
Luc Pattyn13-Jan-11 9:40
sitebuilderLuc Pattyn13-Jan-11 9:40 
Generaltest (just ignore) Pin
Luc Pattyn13-Jan-11 9:56
sitebuilderLuc Pattyn13-Jan-11 9:56 
QuestionQuiz Application In c#.net Pin
varun.g4-Jan-11 23:03
varun.g4-Jan-11 23:03 
AnswerRe: Quiz Application In c#.net Pin
JF20154-Jan-11 23:16
JF20154-Jan-11 23:16 
GeneralRe: Quiz Application In c#.net Pin
varun.g4-Jan-11 23:33
varun.g4-Jan-11 23:33 
GeneralRe: Quiz Application In c#.net Pin
JF20155-Jan-11 2:05
JF20155-Jan-11 2:05 
GeneralRe: Quiz Application In c#.net Pin
varun.g5-Jan-11 16:48
varun.g5-Jan-11 16:48 
QuestionbackgroundWorker Pin
arkiboys4-Jan-11 22:34
arkiboys4-Jan-11 22:34 
In the windows service, here is how I have setup the backgroundworker.

Question.
I do not know why the backgroundworker_progresschanged event does not get called.
Do you see what the problem is please?
Thanks

private BackgroundWorker backgroundWorker;

protected override void OnStart(string[] args)
        {
backgroundWorker = new BackgroundWorker();
                backgroundWorker.WorkerSupportsCancellation = true;
                backgroundWorker.WorkerReportsProgress = true;
                backgroundWorker.DoWork += new DoWorkEventHandler(backgroundWorker_DoWork);
                backgroundWorker.ProgressChanged += new ProgressChangedEventHandler(backgroundWorker_ProgressChanged);
                
                backgroundWorker.RunWorkerAsync();
}

private void backgroundWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            
        }

private void backgroundWorker_ProgressChanged(object sender, ProgressChangedEventArgs e)
        {      
        }

AnswerRe: backgroundWorker Pin
JF20154-Jan-11 22:39
JF20154-Jan-11 22:39 
AnswerRe: backgroundWorker Pin
Pete O'Hanlon4-Jan-11 22:41
mvePete O'Hanlon4-Jan-11 22:41 
GeneralRe: backgroundWorker Pin
arkiboys4-Jan-11 23:17
arkiboys4-Jan-11 23:17 
GeneralRe: backgroundWorker Pin
Pete O'Hanlon4-Jan-11 23:32
mvePete O'Hanlon4-Jan-11 23:32 
GeneralRe: backgroundWorker Pin
arkiboys4-Jan-11 23:44
arkiboys4-Jan-11 23:44 
GeneralRe: backgroundWorker Pin
DaveyM695-Jan-11 0:55
professionalDaveyM695-Jan-11 0:55 
GeneralRe: backgroundWorker Pin
arkiboys5-Jan-11 1:08
arkiboys5-Jan-11 1:08 
Questionhow to fire form_activated event in MDI Child Form... Pin
Manish_Kumar_Nayak4-Jan-11 21:27
Manish_Kumar_Nayak4-Jan-11 21:27 
AnswerRe: how to fire form_activated event in MDI Child Form... Pin
Eddy Vluggen5-Jan-11 0:09
professionalEddy Vluggen5-Jan-11 0:09 
QuestionSimple Unzip of zip file containing multiple files and folders [modified] Pin
arun_pk4-Jan-11 19:46
arun_pk4-Jan-11 19:46 
AnswerRe: Simple Unzip of files Pin
Hiren solanki4-Jan-11 19:50
Hiren solanki4-Jan-11 19:50 
GeneralRe: Simple Unzip of files Pin
arun_pk4-Jan-11 19:55
arun_pk4-Jan-11 19:55 
AnswerRe: Simple Unzip of files Pin
Hiren solanki4-Jan-11 19:57
Hiren solanki4-Jan-11 19:57 
GeneralRe: Simple Unzip of files Pin
arun_pk4-Jan-11 19:58
arun_pk4-Jan-11 19:58 
AnswerRe: Simple Unzip of zip file containing multiple files and folders Pin
ManOFTheMatcH4-Jan-11 20:03
ManOFTheMatcH4-Jan-11 20:03 
AnswerRe: Simple Unzip of zip file containing multiple files and folders Pin
RaviRanjanKr4-Jan-11 21:29
professionalRaviRanjanKr4-Jan-11 21:29 
GeneralRe: Simple Unzip of zip file containing multiple files and folders Pin
arun_pk4-Jan-11 22:27
arun_pk4-Jan-11 22: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.