Click here to Skip to main content
15,914,250 members
Home / Discussions / C#
   

C#

 
QuestionGenerics/Collections return a specific object Pin
I_thought5-Nov-06 3:04
I_thought5-Nov-06 3:04 
AnswerRe: Generics/Collections return a specific object Pin
I_thought5-Nov-06 6:15
I_thought5-Nov-06 6:15 
AnswerRe: Generics/Collections return a specific object Pin
Judah Gabriel Himango5-Nov-06 12:26
sponsorJudah Gabriel Himango5-Nov-06 12:26 
Questionplz help: how can i open mht file in windows based form with C# Pin
mohamed magdi ali4-Nov-06 21:47
mohamed magdi ali4-Nov-06 21:47 
Questioncontrol . cs-->.dll Pin
rzvme4-Nov-06 21:31
rzvme4-Nov-06 21:31 
AnswerRe: control . cs-->.dll Pin
Stefan Troschuetz4-Nov-06 22:19
Stefan Troschuetz4-Nov-06 22:19 
AnswerRe: control . cs-->.dll Pin
Amar Chaudhary5-Nov-06 23:35
Amar Chaudhary5-Nov-06 23:35 
QuestionPlease HELP :: webbrowser within background worker [modified] Pin
Nadia Monalisa4-Nov-06 20:50
Nadia Monalisa4-Nov-06 20:50 
Hi,
Within my background worker's DO_WORK method, I have following code,

......................................................<br />
webBrowser1.navigate("http://www.google.com");<br />
while(weBrowser1.ReadyState != RedyState.Complete)<br />
  Application.DoEvents()<br />
....................................................

Now, when the background worker is being executed, webbrowser1 is being loaded with the mentioned website nicely without any problem. But the problem is, when it checks the ReadyState, it stays uninitialized forever and never reaches ReadyState.Complete and thus, the thread never exists. I checked the code with so many website url so there is no chance that I am having problem to load google.com.

I dont have this problem when the same code is being executed in the standard main thread. Only problem when the code is being run in a background worker thread.

Please help... and your co-operation is appreciated.

Emran




-- modified at 3:23 Sunday 5th November, 2006
AnswerRe: Please HELP :: webbrowser within background worker Pin
Stefan Troschuetz4-Nov-06 22:28
Stefan Troschuetz4-Nov-06 22:28 
AnswerRe: Please HELP :: webbrowser within background worker Pin
Bradml5-Nov-06 0:46
Bradml5-Nov-06 0:46 
AnswerRe: Please HELP :: webbrowser within background worker Pin
mertkan656-Nov-06 21:10
mertkan656-Nov-06 21:10 
QuestionHow can I replace all occurance of a string except when it's enclosed with a special tag? Pin
AngryC4-Nov-06 17:59
AngryC4-Nov-06 17:59 
AnswerRe: How can I replace all occurance of a string except when it's enclosed with a special tag? Pin
wajih.boukaram4-Nov-06 20:11
wajih.boukaram4-Nov-06 20:11 
AnswerRe: How can I replace all occurance of a string except when it's enclosed with a special tag? Pin
Nadia Monalisa4-Nov-06 21:10
Nadia Monalisa4-Nov-06 21:10 
QuestionHow to detect if process if executed Pin
raptor00-coolguy4-Nov-06 16:09
raptor00-coolguy4-Nov-06 16:09 
AnswerRe: How to detect if process if executed Pin
Nadia Monalisa4-Nov-06 20:57
Nadia Monalisa4-Nov-06 20:57 
GeneralRe: How to detect if process if executed Pin
raptor00-coolguy5-Nov-06 4:32
raptor00-coolguy5-Nov-06 4:32 
Questionlinking between the forms... Pin
arjunsasikumar4-Nov-06 10:34
arjunsasikumar4-Nov-06 10:34 
AnswerRe: linking between the forms... Pin
sj_h14-Nov-06 11:48
sj_h14-Nov-06 11:48 
Questionquestion about program's name in open-with dlg Pin
likefood4-Nov-06 10:21
likefood4-Nov-06 10:21 
AnswerRe: question about program's name in open-with dlg Pin
CooperWu4-Nov-06 15:02
CooperWu4-Nov-06 15:02 
GeneralRe: question about program's name in open-with dlg Pin
likefood4-Nov-06 18:39
likefood4-Nov-06 18:39 
QuestionHow to make my program send faxes Pin
Boshkash4-Nov-06 9:18
Boshkash4-Nov-06 9:18 
AnswerRe: How to make my program send faxes [modified] Pin
Amar Chaudhary4-Nov-06 21:23
Amar Chaudhary4-Nov-06 21:23 
QuestionGZipStream for compact framework 2.0 Pin
wajih.boukaram4-Nov-06 8:59
wajih.boukaram4-Nov-06 8:59 

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.