Hi, im trying to submit this form which is on a webpage, loaded into webbrowser1
Ive tried the following, but none seam to workCode:<form name=form1 method=post action=talk.php> <input type="hidden" name="i" value="1"> <input type="hidden" name="input1" value=""> <font color=red face="verdana,arial" size=2></font></i></td><td width=70%><font size="2" face="verdana,arial" color="#000000">Hello! What is your name?</font></td></tr> <tr><td valign=top><font face=verdana size=2>Input: </font></td><td valign=top><input type="text" name="input" size="55" class="text" style="width: 170px"> <input type="submit" name="Submit" value="Submit" class="knop"> </form>
Code:WebBrowser1.Document.Forms(1).Submit WebBrowser1.Document.Forms(0).Submit WebBrowser1.Document.All("form1").Submit WebBrowser1.Document.Forms("form1").Submit WebBrowser1.Document.Form1.Submit
Do you think its because the form name (in the HTML code) isnt in quotes?
Grateful if anyone could help
Thanks.
Ive tried using





Reply With Quote