Click here to Skip to main content
15,901,284 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionsetup Pin
p_m_kanthi15-Apr-09 22:56
p_m_kanthi15-Apr-09 22:56 
AnswerRe: setup Pin
Dave Kreskowiak16-Apr-09 4:16
mveDave Kreskowiak16-Apr-09 4:16 
Questionabout ms-word Pin
p_m_kanthi15-Apr-09 22:54
p_m_kanthi15-Apr-09 22:54 
AnswerRe: about ms-word Pin
Eddy Vluggen15-Apr-09 23:46
professionalEddy Vluggen15-Apr-09 23:46 
AnswerRe: about ms-word Pin
vsaratkar23-Apr-09 8:39
vsaratkar23-Apr-09 8:39 
GeneralRe: about ms-word Pin
p_m_kanthi23-Apr-09 16:07
p_m_kanthi23-Apr-09 16:07 
QuestionGroup Policy Pin
Siddharth Rastogi15-Apr-09 20:19
Siddharth Rastogi15-Apr-09 20:19 
QuestionWebBrowser - wait for document to complete (threading?) Pin
Viktor Nilsson15-Apr-09 10:35
Viktor Nilsson15-Apr-09 10:35 
Hi
Been working with C# a lot, but strangely enough, not very much with threading. I guess my question in someway touches that area.

My problem is the following. I want to perform a series of tasks with a single webbrowser. Each task should consist of the following: 1. Load a document from the internet, 2. Analyze the document and store some data.

To do these things for each task is no problem. However, as a series of tasks is queued, some trouble occurs. To load a document I use the Url property of the webbrowser, and the code to analyze it is placed in a method being executed when the DocumentCompleted event is fired. This is placed within a class called BrowserTask. To perform a task, BrowserTask's Perform method is called. This method sets the Url of the browser. However, the method call is ended when this is done - which is not what I want. I want the method call to end after the document has been completed (and analyzed), meaning it should wait for DocumentCompleted event.

Seems like a simple task to me, however i have googled my ass of trying to find a solution to this problem, without finding anything helpful.

Help would be very appreciated.
Thanks!
AnswerRe: WebBrowser - wait for document to complete (threading?) Pin
Luc Pattyn15-Apr-09 11:02
sitebuilderLuc Pattyn15-Apr-09 11:02 
GeneralRe: WebBrowser - wait for document to complete (threading?) Pin
Viktor Nilsson15-Apr-09 12:02
Viktor Nilsson15-Apr-09 12:02 
GeneralRe: WebBrowser - wait for document to complete (threading?) Pin
Luc Pattyn15-Apr-09 12:08
sitebuilderLuc Pattyn15-Apr-09 12:08 
GeneralRe: WebBrowser - wait for document to complete (threading?) Pin
dojohansen15-Apr-09 21:06
dojohansen15-Apr-09 21:06 
GeneralRe: WebBrowser - wait for document to complete (threading?) Pin
dojohansen15-Apr-09 21:32
dojohansen15-Apr-09 21:32 
AnswerRe: WebBrowser - wait for document to complete (threading?) [modified] Pin
Luc Pattyn16-Apr-09 0:07
sitebuilderLuc Pattyn16-Apr-09 0:07 
QuestionTreeView Check Box State Problems Pin
Tristan Rhodes15-Apr-09 2:24
Tristan Rhodes15-Apr-09 2:24 
AnswerRe: TreeView Check Box State Problems Pin
Henry Minute16-Apr-09 12:24
Henry Minute16-Apr-09 12:24 
GeneralRe: TreeView Check Box State Problems Pin
Tristan Rhodes16-Apr-09 23:11
Tristan Rhodes16-Apr-09 23:11 
Question.NET Workflow for Upgrade Wizard? Pin
Brady Kelly14-Apr-09 23:42
Brady Kelly14-Apr-09 23:42 
AnswerRe: .NET Workflow for Upgrade Wizard? Pin
Pete O'Hanlon15-Apr-09 1:35
mvePete O'Hanlon15-Apr-09 1:35 
GeneralRe: .NET Workflow for Upgrade Wizard? Pin
Brady Kelly15-Apr-09 1:39
Brady Kelly15-Apr-09 1:39 
QuestionCreate Custom Event Source by turing UAC ON in Windows VISTA Pin
Vipul Mehta14-Apr-09 23:12
Vipul Mehta14-Apr-09 23:12 
AnswerRe: Create Custom Event Source by turing UAC ON in Windows VISTA Pin
Mark Salsbery15-Apr-09 7:13
Mark Salsbery15-Apr-09 7:13 
Questionvb.net to acceess Pin
radhika bhatt14-Apr-09 21:15
radhika bhatt14-Apr-09 21:15 
AnswerRe: vb.net to acceess Pin
Narendra Reddy Vajrala14-Apr-09 23:31
Narendra Reddy Vajrala14-Apr-09 23:31 
QuestionUnable to emit assembly: Referenced assembly 'Interop.ADODB' does not have a strong name Pin
MarcelloTurnbull14-Apr-09 8:49
MarcelloTurnbull14-Apr-09 8:49 

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.