Click here to Skip to main content
15,899,632 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cannot implicitly convert type 'object' to 'bool' Pin
cor287910-Aug-10 1:59
cor287910-Aug-10 1:59 
AnswerRe: Cannot implicitly convert type 'object' to 'bool' Pin
michaelbierly9-Aug-10 4:38
michaelbierly9-Aug-10 4:38 
AnswerRe: Cannot implicitly convert type 'object' to 'bool' Pin
tom14439-Aug-10 5:22
tom14439-Aug-10 5:22 
AnswerRe: Cannot implicitly convert type 'object' to 'bool' Pin
Devi Ganesan9-Aug-10 5:25
Devi Ganesan9-Aug-10 5:25 
AnswerRe: Cannot implicitly convert type 'object' to 'bool' Pin
Bob10009-Aug-10 7:02
professionalBob10009-Aug-10 7:02 
Questionrepaint textboxcolor Pin
igalep1326-Aug-10 23:35
igalep1326-Aug-10 23:35 
AnswerRe: repaint textboxcolor Pin
Luc Pattyn7-Aug-10 5:26
sitebuilderLuc Pattyn7-Aug-10 5:26 
GeneralRe: repaint textboxcolor Pin
igalep1327-Aug-10 5:55
igalep1327-Aug-10 5:55 
AnswerRe: repaint textboxcolor Pin
Luc Pattyn7-Aug-10 6:15
sitebuilderLuc Pattyn7-Aug-10 6:15 
Questionidentity information display in webbrowser control Pin
Krishna Varadharajan6-Aug-10 23:18
Krishna Varadharajan6-Aug-10 23:18 
AnswerRe: identity information display in webbrowser control Pin
Ravi Bhavnani7-Aug-10 9:35
professionalRavi Bhavnani7-Aug-10 9:35 
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 

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.