473,324 Members | 2,370 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

AxWebBrowser control : how to POST data?

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
4 4767
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
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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: sophocles the wise | last post by:
automatically post data & click buttons on sequence of web pages with AxWebBrowser Hi, I need to post stuff everyday to a website and am working on a VB program to do this for me. I am a...
0
by: beau | last post by:
Hi, I'm using the AxWebBrowser in a C# WinForms application. I've got the basics working, but need some help controlling the view options for browsing files. How can I disable the...
3
by: Clint MacDonald | last post by:
I have used the AxWebBrowser in a Visual Basic Project... I found that both Framework 1.0 and 1.1 had to be installed for it to work properly. I now have found that in Studio 2003, that the...
3
by: MeNotHome | last post by:
I have been trying to find all the properties and methods documentation on the axwebbrowser control. For example a list of follwing and their results axwebbrowser.document.body.outerhtml...
3
by: MPR | last post by:
Hi guys; I'm using an AxSHDocVw.AxWebBrowser control to show a web page. I need to know if i can ( and how? ) i do the following things: 1 - I need to follow 1 link in the webpage diplayed...
4
by: TF | last post by:
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...
13
by: Udhay | last post by:
I am trying to use the AxWebbrowser control in my VB.Net application. The control is placed on one of the tab pages in the form. This is the error I am getting when I have the 'exceptions' set to...
0
by: Berry W | last post by:
Hi, I'm trying to capture hidden window's data that is in IE's AxSHDocVw.AxWebBrowser ActiveX control. If Control and window are visible, code below works but if Control and it's window is...
6
by: Dave Booker | last post by:
It appears that I cannot correctly install the AxWebBrowser in VS2005. I can instantiate an "AxWebBrowser browser" and refer to its members, properties, and methods. I'm having trouble with the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.