Hi guys, new guy here and wanted your bighelp. Trying to automate the browser using Webbrowser control unfortunately i'm getting an exception error

found this thread http://www.vbforums.com/showthread.php?t=416275 but didn't help me because i'm using vb 2003 and again found this link http://www.vbforums.com/showthread.p...ght=webbrowser which help me a little bit. Actually it works but in a single <FORM not multiple form tag in the same page which would be my best guess.

My question is if i got 2 forms in one document let say

<form name="srch" id="srch" action="http://xxxx.com" method="get">
<input type="text" id="q" name="q" class="txt" />
</form>

and

<form action="http://www.xxx.com" method="post" name="theForm" id="theForm">
<input type="text" name="email" id="email" value="" />
<input name="password" type="password" id="password" />
</form>

MY CODE GOES HERE:

Dim myPointer = AxWebBrowser1.document
myPointer.forms.item.elements("q").value = "test" <----this is working
myPointer.forms.item.elements("email").value = "mypassword" <---ERROR

i would appreciate a lot your help coz i'm stuck here

regards