A 'cheap / hack' of a solution would be to have your own hidden TWebbrowser on your TForm. Make this load up a temporary html from which has all the options you want in it - then set the <form action="address to your website" method="POST" traget="_blank">

So the user wont see it, you generate that html form yourself and then use javascript to do a onload="submit my form"

As I said, it's a nasty little hack but would work quite well.
The other way of posting something, is to use indy, however then you don't get the web browser opening with the results for the end user.



Steven Knight wrote:

  Hi all,
           I need pointing in the right direction please.

I have a Delphi 2006 win32 application and I want to make it open a web page in a browser.

I have done similar things before using shellexecute to open a web browser or the TWebBrowser component but this time I want the page to receive some information in some hidden fields. Like I pressed a button on a form that caused a POST action.

What should I be looking for to make this happen?

Thanks
Steven Knight

**********************************************************************

This email and any files transmitted with it are confidential and

intended solely for the use of the individual or entity to whom they

are addressed. If you have received this email in error please notify

the system manager.

This footnote also confirms that this email message has been swept by

MIMEsweeper for the presence of computer viruses.

www.ecan.govt.nz

**********************************************************************

------------------------------------------------------------------------

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to