mla_ca520
Member
Hi Y'All,
I have the following html file on my local computer.
I would like to embed all of this into a VB 2008 browser
so that when I launch the app, it will automatically submit the form
with the xml command rather than having to open the html page
Additionally, the url that this goes to requires windows authentication, which
takes place in a windows popup dialogue. How can I automatically populate
that dialogue with user name and password?
Any help would be greatly appreciated. thanks,
MA
I have the following html file on my local computer.
I would like to embed all of this into a VB 2008 browser
so that when I launch the app, it will automatically submit the form
with the xml command rather than having to open the html page
Additionally, the url that this goes to requires windows authentication, which
takes place in a windows popup dialogue. How can I automatically populate
that dialogue with user name and password?
Any help would be greatly appreciated. thanks,
MA
VB.NET:
<HTML>
<HEAD>
<TITLE>Test Form</TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
function fnSubmit() {
window.document.XMLFORM.submit();
return;
}
</SCRIPT>
<BODY LANGUAGE="javascript" onload="return fnSubmit()">
<FORM NAME="XMLFORM" METHOD="POST" ACTION="http://web-address">
XML Request:<BR>
<TEXTAREA NAME="XMLREQUEST" ROWS=10 COLS=60>
<Request>
<PingXML>
<Data>Test Ping</Data>
</PingXML>
</Request></TEXTAREA><br>
</BODY></HTML>