By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,919 Members | 1,587 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,919 IT Pros & Developers. It's quick & easy.

AxWebBrowser control : how to POST data?

P: n/a
TF
hi,
i am using AxWebBrowser control in my C# dot.net windows application.
i want to display a web page in the browser that needs some data sent
to it through HTML Form 'POST' method. I saw a method 'Navigate' of
AxWebBrowser control that has a parameter 'ref object postData' but
didn't find any documentation about AxWebBrowser how to use it. i
tried a string like "name1=value1&name2=value2" but it doesn't work.

Any help??
Thanks
Jul 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On 30 Jan 2004 05:26:18 -0800, TF <fa****@coned.com> wrote:
hi,
i am using AxWebBrowser control in my C# dot.net windows application.
i want to display a web page in the browser that needs some data sent
to it through HTML Form 'POST' method. I saw a method 'Navigate' of
AxWebBrowser control that has a parameter 'ref object postData' but
didn't find any documentation about AxWebBrowser how to use it. i
tried a string like "name1=value1&name2=value2" but it doesn't work.

Any help??
Thanks


You should use byte array, I can give you an example at Monday in Vb6
only...

--
.... blood, sugar, sex, magic ...
CIA = Caught In Action programmer
Jul 21 '05 #2

P: n/a
Cor
Hi TF,

With the AXWebbrowser you can do the same as with Internet Explorer.

For most things that are in a button you have a command, although it is not
always easy to send.

I never saw that you can POST from Internet Explorer.

So I think you will also never find it in the AxWebBrowser.

Sorry it does not helps, but maybe you get the right direction.

Cor
i am using AxWebBrowser control in my C# dot.net windows application.
i want to display a web page in the browser that needs some data sent
to it through HTML Form 'POST' method. I saw a method 'Navigate' of
AxWebBrowser control that has a parameter 'ref object postData' but
didn't find any documentation about AxWebBrowser how to use it. i
tried a string like "name1=value1&name2=value2" but it doesn't work.

Jul 21 '05 #3

P: n/a
"TF" <fa****@coned.com> wrote in message
news:ae**************************@posting.google.c om...
hi,
i am using AxWebBrowser control in my C# dot.net windows application.
i want to display a web page in the browser that needs some data sent
to it through HTML Form 'POST' method. I saw a method 'Navigate' of
AxWebBrowser control that has a parameter 'ref object postData' but


Unless you are interacting with the rendered page, you should bypass
AxWebBrowse and instead use the HTTP protocol directly.
Jul 21 '05 #4

P: n/a
TF
Thanks everyone for response.

Chad, i have to display some web page just like in browser that's why
i can't avoid it.

Maniaque, you are right i should user byte array. It is working now.
Here is link to an example, someone else may need it

http://support.microsoft.com/default...b;EN-US;311293
Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.