BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Autoposting with IE problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
mc
Guest





PostPosted: Thu Jan 13, 2005 9:11 am    Post subject: Autoposting with IE problem Reply with quote



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





PostPosted: Thu Jan 13, 2005 10:07 am    Post subject: Re: Autoposting with IE problem Reply with quote




"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





PostPosted: Thu Jan 13, 2005 10:22 am    Post subject: Re: Autoposting with IE problem Reply with quote




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





PostPosted: Thu Jan 13, 2005 5:25 pm    Post subject: Re: Autoposting with IE problem Reply with quote


"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





PostPosted: Fri Jan 14, 2005 9:46 am    Post subject: Re: Autoposting with IE problem Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.