Can some tell me how to press a button on a HTML form through my program. I have tried:

doc.forms(0).submit

which works, but does not emulate the exact procedure like I need it to do.

Here is the code for the button:

<input type="Image" name="submit" src="http://...submit.gif" border="0">

Thanks