Yes. You do't say how the code will be hosted, in a web page or a standalone
js file. If the former you will need to run in an unsecure zone. A quick example assuming the name text box is called "txtName" and the password box is named "txtPassword" and the form they are in is called "frmLogin".
Code:
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.navigate("http://www.myBank.com");
while (oIE.busy)
{
var i = 1 + 2; //Some VB stylke doevents would be good here.
}
if (oIE.document && oIE.document.frmLogin)
{
var oDoc = oIE.document;
oDoc.frmLogin.elements["txtName"].value = "Joe";
oDoc.frmLogin.elements["txtPassword"].value = "password";
oDoc.frmLogin.submit();
while (oIE.busy)
{
var i = 1 + 2;
}
//Then retrieve balance etc.
}
else
{
//show error message
}
oIE.quit();
oIE = null;
For IE methods search msdn for iwebbrowser2.
--
Joe