Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Webrowser Set Focus and Enter Data

Status
Not open for further replies.

Trob70

Programmer
Sep 25, 2012
89
AU
I have a form with Webbrowser1 added

The local page loaded contains the following info


<b>Username</b><input name="Username" value="meme"><br>
<b>Password </b><input name="Password" value ="pass"><br>
<input name="userfile" type=file value="" >
<input type="submit" value="Upload File">
</form>
</body>
</html>


In Vb6 is there a way of eg

webbrowser1.setfocus

I can insert value for the input name fields all ok. eg .Document.All("fieldName").Value = "some value"

but have a problem with

<input name="userfile" type=file value=""

is there a way of inserting the value of file value


Appreciate any help

Trob70




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top