Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
Questiondial phone number in C# Pin
sana_266-Aug-10 21:44
sana_266-Aug-10 21:44 
AnswerRe: dial phone number in C# Pin
riced6-Aug-10 21:47
riced6-Aug-10 21:47 
AnswerRe: dial phone number in C# Pin
Orjan Westin6-Aug-10 23:41
professionalOrjan Westin6-Aug-10 23:41 
Questionwhy webBrowser1.Document is null [modified][Solved] Pin
yu-jian6-Aug-10 21:43
yu-jian6-Aug-10 21:43 
AnswerRe: why webBrowser1.Document is null Pin
yu-jian6-Aug-10 21:44
yu-jian6-Aug-10 21:44 
AnswerRe: why webBrowser1.Document is null Pin
Ravi Bhavnani7-Aug-10 9:38
professionalRavi Bhavnani7-Aug-10 9:38 
GeneralRe: why webBrowser1.Document is null Pin
yu-jian7-Aug-10 17:51
yu-jian7-Aug-10 17:51 
AnswerRe: why webBrowser1.Document is null [modified][Solved] Pin
Luc Pattyn8-Aug-10 1:32
sitebuilderLuc Pattyn8-Aug-10 1:32 
Putting Thread.Sleep() in an event handler is a bad idea, as it prevents your GUI from staying alive, and typically does not solve the problem at all: all it does is "stop the world", so whatever it is you hope will happen in the mean time probably is not happening at all. Use either an asyncrhonous operation, a timer, or another thread.

In your specific case, the Document will not be received until much later, it takes time for the WebBrowser to navigate, receive, and decode the web page. Use DocumentCompleted event (and watch out for multiple events when your page is more complex).

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


QuestionSplitting PDF Pin
Gjm6-Aug-10 15:51
Gjm6-Aug-10 15:51 
AnswerRe: Splitting PDF Pin
Abhinav S6-Aug-10 19:01
Abhinav S6-Aug-10 19:01 
AnswerRe: Splitting PDF Pin
dan!sh 6-Aug-10 20:01
professional dan!sh 6-Aug-10 20:01 
AnswerRe: Splitting PDF Pin
Ravi Bhavnani7-Aug-10 9:39
professionalRavi Bhavnani7-Aug-10 9:39 
Questionaccess db c# & TableAdapter problem Pin
mehdi00166-Aug-10 12:41
mehdi00166-Aug-10 12:41 
AnswerRe: access db c# & TableAdapter problem Pin
PIEBALDconsult6-Aug-10 14:39
mvePIEBALDconsult6-Aug-10 14:39 
GeneralRe: access db c# & TableAdapter problem [modified] Pin
mehdi00167-Aug-10 0:33
mehdi00167-Aug-10 0:33 
QuestionHow to manager the secret key of RSAEncrypt Pin
jason_mf6-Aug-10 4:41
jason_mf6-Aug-10 4:41 
AnswerRe: How to manager the secret key of RSAEncrypt Pin
Richard MacCutchan6-Aug-10 4:47
mveRichard MacCutchan6-Aug-10 4:47 
AnswerRe: How to manager the secret key of RSAEncrypt Pin
Sauro Viti6-Aug-10 4:49
professionalSauro Viti6-Aug-10 4:49 
GeneralRe: How to manager the secret key of RSAEncrypt Pin
jason_mf6-Aug-10 20:06
jason_mf6-Aug-10 20:06 
GeneralRe: How to manager the secret key of RSAEncrypt Pin
Richard MacCutchan6-Aug-10 21:52
mveRichard MacCutchan6-Aug-10 21:52 
QuestionWPF media element play and pause Pin
Tichaona J6-Aug-10 4:03
Tichaona J6-Aug-10 4:03 
QuestionConnect and synch with an androide based device through USB Pin
annathor6-Aug-10 3:32
annathor6-Aug-10 3:32 
QuestionWebbrowser Control and item selection (IE developer tools like) - need help Pin
Marcelo Magri6-Aug-10 3:17
Marcelo Magri6-Aug-10 3:17 
AnswerRe: Webbrowser Control and item selection (IE developer tools like) - need help Pin
Ravi Bhavnani7-Aug-10 9:41
professionalRavi Bhavnani7-Aug-10 9:41 
GeneralRe: Webbrowser Control and item selection (IE developer tools like) - need help Pin
Marcelo Magri9-Aug-10 9:09
Marcelo Magri9-Aug-10 9:09 

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.