 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
mc Guest
|
Posted: Thu Jan 13, 2005 9:11 am Post subject: Autoposting with IE problem |
|
|
Hi,
I'm trying to post data to a webpage with IE using following example:
Variant IE = CreateOleObject("InternetExplorer.Application");
IE.OlePropertySet("Visible", true);
IE.OleFunction("Navigate" , "http://www.mydomain.com" , NULL , "_blank" ,
"postdatatest=test" , "Content-Type:
application/x-www-form-urlencodednn");
IE = Unassigned;
But the headers show that the request is a "GET" and no data is posted.
Anybody got a working example using "Post" with Internet Explorer ???
(I'm on a w2k machine with bcb6 installed)
Thx,
Mc
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Jan 13, 2005 10:07 am Post subject: Re: Autoposting with IE problem |
|
|
"mc" <NA> wrote
| Quote: | I'm trying to post data to a webpage with IE using following example:
|
Why not use the TCppWebBrowser component? Or better yet, use a non-visual
HTTP component instead, such as the one provided by Indy
(http://www.indyproject.org) or ICS ([url]http://www.overbyte.be)[/url].
Gambit
|
|
| Back to top |
|
 |
mc Guest
|
Posted: Thu Jan 13, 2005 10:22 am Post subject: Re: Autoposting with IE problem |
|
|
| Quote: | Why not use the TCppWebBrowser component? Or better yet, use a non-visual
HTTP component instead, such as the one provided by Indy
(http://www.indyproject.org) or ICS ([url]http://www.overbyte.be)[/url].
|
Unfortunatly, I have to make sure that the page I'm posting to, opens in IE
I dont think any of the suggetions above, can do that, please correct me if
I'm wrong. (I have only used ICS)
Mc
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Jan 13, 2005 5:25 pm Post subject: Re: Autoposting with IE problem |
|
|
"mc" <NA> wrote
| Quote: | Unfortunatly, I have to make sure that the page I'm posting to,
opens in IE
|
TCppWebBrowser is the embedded version of IE.
Gambit
|
|
| Back to top |
|
 |
mc Guest
|
Posted: Fri Jan 14, 2005 9:46 am Post subject: Re: Autoposting with IE problem |
|
|
I'll take a look at it during the weekend and see if it can cover my needs
(fullscreen, flash etc.)
thx for the help.
mc
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote
| Quote: |
"mc" <NA> wrote
Unfortunatly, I have to make sure that the page I'm posting to,
opens in IE
TCppWebBrowser is the embedded version of IE.
Gambit
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|