Click here to Skip to main content
16,010,650 members
Home / Discussions / C#
   

C#

 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 1:48
Yustme11-Mar-10 1:48 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 1:51
Kristian Sixhøj11-Mar-10 1:51 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 1:57
Yustme11-Mar-10 1:57 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 2:04
Kristian Sixhøj11-Mar-10 2:04 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 2:13
Yustme11-Mar-10 2:13 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 2:25
Kristian Sixhøj11-Mar-10 2:25 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 2:33
Yustme11-Mar-10 2:33 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 4:22
Kristian Sixhøj11-Mar-10 4:22 
I don't know why your login request doesn't work, but another approach to the problem could be:

1. Navigate to the URL using the WebBrowser control.
2. If a login form is displayed, use HtmlDocument to fill in the values (username + password) and "click" the Login button. Depending on how the site is coded, the browser should automatically navigate to the requested forum topic.
3. Grab the HTML by using the DocumentStream property.

Although this definitely isn't the most ideal solution if you have to "visit" several sites. WebRequest is probably the way to go if that's the case.

Have you got any idea as to why your login request fails? Does the site display an error message?
Green Alien | [Alien] Kristian Sixhoej
"You can always become better." - Tiger Woods

GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 6:41
Yustme11-Mar-10 6:41 
QuestionNeed help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes10-Mar-10 23:48
suprsnipes10-Mar-10 23:48 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
OriginalGriff11-Mar-10 0:11
mveOriginalGriff11-Mar-10 0:11 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
peropata11-Mar-10 0:21
peropata11-Mar-10 0:21 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Keith Barrow11-Mar-10 0:31
professionalKeith Barrow11-Mar-10 0:31 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 1:37
mveRichard MacCutchan11-Mar-10 1:37 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 1:48
suprsnipes11-Mar-10 1:48 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
KenKen Wong11-Mar-10 2:10
KenKen Wong11-Mar-10 2:10 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 2:19
suprsnipes11-Mar-10 2:19 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
OriginalGriff11-Mar-10 3:57
mveOriginalGriff11-Mar-10 3:57 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 2:33
mveRichard MacCutchan11-Mar-10 2:33 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 2:58
suprsnipes11-Mar-10 2:58 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Keith Barrow11-Mar-10 3:15
professionalKeith Barrow11-Mar-10 3:15 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 4:37
mveRichard MacCutchan11-Mar-10 4:37 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 5:13
suprsnipes11-Mar-10 5:13 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 6:33
mveRichard MacCutchan11-Mar-10 6:33 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
DaveyM6911-Mar-10 8:26
professionalDaveyM6911-Mar-10 8:26 

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.