<div>Just in case any one revisits this,</div>
<div> </div>
<div>The TembeddedWB component now housed on <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://bsalsa.com/" target="_blank">http://bsalsa.com/</a> has additional components in the download including:
</div>
<div> </div>
<div>TIEDownload</div>
<div> </div>
<div><font face="Verdana" size="2">IEDownload1.Method:=Post;<br>IEDownload1.PostData:='firstname=Per&lastname=Larsen';<br>IEDownload1.Go('<a href="http://localhost/postmon.asp'">http://localhost/postmon.asp'</a>);</font>
<br><br><br> </div>
<div><span class="gmail_quote">On 24/05/06, <b class="gmail_sendername">Jeremy Coulter</b> <<a href="mailto:vss@vss.co.nz">vss@vss.co.nz</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><font style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma">
<div> Hi.</div>
<div>No FillForm wont work, I already have similar code I already wrote, because I dont know a value until its submitted, and hence why I need to add it on the end.</div>
<div>I have found another way to handle it now tho.</div>
<div> </div>
<div>Jeremy</div>
<div> </div></font><br>
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original Message-----<br>From: "Paul A Norman" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:paul.a.norman@gmail.com" target="_blank">
paul.a.norman@gmail.com</a>><br>To: "NZ Borland Developers Group - Delphi List" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi@ns3.123.co.nz" target="_blank">delphi@ns3.123.co.nz
</a>><br>Date: Wed, 24 May 2006 16:08:57 +1200<br>Subject: Re: [DUG] POSTDATA WebBrowser</blockquote></div>
<div><span class="e" id="q_10b64b3f846300a7_1"><br><br>
<div>Dear Jeremy,</div>
<div> </div>
<div>The TembeddedWB component now housed on <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://bsalsa.com/" target="_blank">http://bsalsa.com/</a> handles things in this area very well.</div>
<div> </div>
<div>At worst you can first supress the SUBMIT and use a direct Navigate procedure supplying the POSTDATA </div>
<div> </div>
<div>Check extensive information <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://bsalsa.com/ewb_methods2.html" target="_blank">http://bsalsa.com/ewb_methods2.html</a></div>
<div> </div>
<div>Among other available methds is the following (<strong><font size="2"> FillForm)</font></strong> under :</div>
<div> </div>
<div> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://bsalsa.com/ewb_methods1.html" target="_blank"> http://bsalsa.com/ewb_methods1.html</a> (shown below)</div>
<div> </div>
<div>Paul</div>
<div>
<div><b><font size="2">FillForm</font></b><font size="2">(FieldName: string; Value: string):This function allow you to auto insert details into a web page<br> </font><b><font color="#0000cc" size="2">procedure</font></b>
<font color="#0000cc" size="2"> TfrmMain.FillFormWithPersonalDetails1Click(Sender: TObject);<br><b>begin</b><br> EmbeddedWB1.Navigate('<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://edit.yahoo.com/config/eval_register" target="_blank">
http://edit.yahoo.com/config/eval_register</a>?.<br>done=<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com%2fgroup%2fdelphi-webbrowser%2f&.src=ygrp&.intl=us'/" target="_blank">
http://groups.yahoo.com%2fgroup%2fdelphi-webbrowser%2f&.src=ygrp&.intl=us'</a> );<br><b>while</b> EmbeddedWB1.ReadyState <> READYSTATE_COMPLETE <b>do</b><br> <b>begin</b><br> Forms.Application.ProcessMessages
;<br> <b> end;</b><br> <b>with </b>EmbeddedWB1<b> do</b><br> <b>begin</b><br> FillForm('login', 'Mozart');<br> FillForm('passwd', 'Bethoven');<br> FillForm('.fn', 'lol1');<br> FillForm('.ln', 'lol2');
<br> FillForm('.ln', 'lol2');<br> FillForm('.pw', 'lol3333');<br> FillForm('.pw2', 'lol444');<br> FillForm('.pw_a', 'lolypop');<br> FillForm('.pwqa_a', 'lolypop');<br> FillForm('.em', '<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:loly@pop.com" target="_blank">
loly@pop.com</a>');<br> FillForm('.pc', '123456');<br> FillForm('.secword', ':)');<br> </font><b><font color="#0000cc" size="2"> end;<br>end;</font></b> <font size="2"></font></div><br><br> </div>
<div><span class="gmail_quote">On 24/05/06, <b class="gmail_sendername">Jeremy Coulter</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vss@vss.co.nz" target="_blank">vss@vss.co.nz</a>> wrote:
</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><font style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma">
<div> </div>
<div> Hi All.</div>
<div>I am using an embedded TWebBrowser in an app, and I need to append some data to the data about to be posted.</div>
<div>So, in the BeforeNavigate2 event, the POSTDATA is a VAR variable, and so I decode the PostData, add my extra bit of data, then re-encode it (back to a var array) but it seems to me that the PostData variable is NOT being updated with my new data, as when the page posts the data to a webpage, the new bit of data I add is not there.
</div>
<div> </div>
<div>Anyone else tried to do this and found the same problem, and/or is there a solution?</div>
<div> </div>
<div>Jeremy</div></font></div><br>_______________________________________________<br>Delphi mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Delphi@ns3.123.co.nz" target="_blank">Delphi@ns3.123.co.nz
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ns3.123.co.nz/mailman/listinfo/delphi" target="_blank">http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br><br></blockquote></div><br></span>
</div>
<div>
<blockquote></blockquote></div><br>_______________________________________________<br>Delphi mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ns3.123.co.nz/mailman/listinfo/delphi" target="_blank">http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br><br></blockquote></div><br>