C
chrisho
Can anyone help? I just to use the following VB to send a click stroke,
anyone can help to identify what I have to do as I cannot get it work because
I cannot find the right click name or ID?
ie.document.all("SEC_username").Value = "XX"
ie.document.all("SEC_password").Value = "XXXX"
Set ipf = ie.document.all.Item("submit")<---this maybe incorrect.
ipf.Click
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML><HEAD>
<TITLE>XXXXXXXXXXXXXXXXXXXXXXXXXXXX -XXXX</TITLE></HEAD>
<BODY BGCOLOR=#FDBD49>
<FORM METHOD=POST ACTION="http://XXX.XXX.XXX/cgi-bin/ias.cgi">
<INPUT TYPE=HIDDEN NAME=scr VALUE="login.cgi">
<CENTER>
<P><BR><P>
<B>Before you can access this function, you will need to login</B>
<P>
<FONT FACE="Arial" SIZE="-1"><B>Operator ID:</B></FONT>
<INPUT TYPE="TEXT" NAME="SEC_username" Size=10 VALUE="">
<P>
<FONT FACE="Arial" SIZE="-1"><B>Password:</B></FONT>
<INPUT TYPE="PASSWORD" NAME="SEC_password" Size=10 VALUE="">
<P><BR><P>
<INPUT TYPE="HIDDEN" NAME="scriptname" VALUE="/cgi-bin/ias.cgi">
<INPUT TYPE="HIDDEN" NAME="parameters" VALUE="scr=menu_main%2ecgi">
<INPUT TYPE="HIDDEN" NAME="SEC_usertype" VALUE="operator">
<INPUT TYPE="SUBMIT" VALUE="LOGIN">
<INPUT TYPE="RESET" VALUE="Clear">
</CENTER>
</FORM>
</BODY>
</HTML>
anyone can help to identify what I have to do as I cannot get it work because
I cannot find the right click name or ID?
ie.document.all("SEC_username").Value = "XX"
ie.document.all("SEC_password").Value = "XXXX"
Set ipf = ie.document.all.Item("submit")<---this maybe incorrect.
ipf.Click
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML><HEAD>
<TITLE>XXXXXXXXXXXXXXXXXXXXXXXXXXXX -XXXX</TITLE></HEAD>
<BODY BGCOLOR=#FDBD49>
<FORM METHOD=POST ACTION="http://XXX.XXX.XXX/cgi-bin/ias.cgi">
<INPUT TYPE=HIDDEN NAME=scr VALUE="login.cgi">
<CENTER>
<P><BR><P>
<B>Before you can access this function, you will need to login</B>
<P>
<FONT FACE="Arial" SIZE="-1"><B>Operator ID:</B></FONT>
<INPUT TYPE="TEXT" NAME="SEC_username" Size=10 VALUE="">
<P>
<FONT FACE="Arial" SIZE="-1"><B>Password:</B></FONT>
<INPUT TYPE="PASSWORD" NAME="SEC_password" Size=10 VALUE="">
<P><BR><P>
<INPUT TYPE="HIDDEN" NAME="scriptname" VALUE="/cgi-bin/ias.cgi">
<INPUT TYPE="HIDDEN" NAME="parameters" VALUE="scr=menu_main%2ecgi">
<INPUT TYPE="HIDDEN" NAME="SEC_usertype" VALUE="operator">
<INPUT TYPE="SUBMIT" VALUE="LOGIN">
<INPUT TYPE="RESET" VALUE="Clear">
</CENTER>
</FORM>
</BODY>
</HTML>