Jump to content

Question about webbrowser for postData

- - - - -

  • Please log in to reply
No replies to this topic

#1
Doctor

Doctor

    Newbie

  • Members
  • PipPip
  • 23 posts
Delete this post please .... the problem was somewhere else ... sorry



Hi.


I have a problem sending postData while user click on button on some webpage. It means that postData cannot be Null. Here is the code:


[CODE]webBrowser1.Navigate(e.Url, "_self", default(byte[]), headers);[/CODE]


As you can see I've used default(byte[]) for postData overload, but this is not working. What I'm trying to do is NOT to change post data, just headers.



Edit: I do this like this:





When the browser is navigating I add headers. This works, but when user press on some button or writes username and password into login forum and press submit, it doesn't work.

Edited by Doctor, 22 May 2011 - 12:02 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users