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 

How to using POST method in TCppWebBrowser

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





PostPosted: Wed May 10, 2006 8:15 am    Post subject: How to using POST method in TCppWebBrowser Reply with quote



Hi All,

I want to post a form data to web server using TCppWebBrowser.
But I don't know how to do it?
Please help me!

Alan

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed May 10, 2006 8:15 am    Post subject: Re: How to using POST method in TCppWebBrowser Reply with quote



"Alan" <sun (AT) mail (DOT) welltech.com.tw> wrote in message
news:44619b7f$1 (AT) newsgroups (DOT) borland.com...

Quote:
I want to post a form data to web server using TCppWebBrowser.

TCppWebBrowser is a visual component. It is meant to be used visually by
the user. If you need to send HTTP data programmably, then you should code
for the HTTP protocol directly instead, either manually or through an HTTP
component (such as the one from Indy or ICS) or library (such as WinInet or
WinHTTP).

If you must manipulate TCppWebBrowser programmably, then you have to access
its DOM interfaces directly, such as IHTMLDocument2 and IHTMLFormElement.
You can query the IHTMLDocument2 interface from the TCppWebBrowser's
Document property, and then drill down the page elements from there. Refer
to MSDN for more details:

Interfaces and Scripting Objects

http://msdn.microsoft.com/workshop/browser/mshtml/reference/ifaces/interface.asp

Also, search through the newsgroup archives at http://www.deja.com. Code
snippets have been posted many times before.


Gambit
Back to top
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group
.