Hi,
I am using webbrowser control to automate a site.
this site contains form with tage <INPUT TYPE=FILE ...>
I know the control is not writeable. So, only thing that I could do was:
Assumssing that we have following HTML code
<form .. >
<input type="file" name="myfilebox" size=20>
...
</form>
My VB code is:
Dim wbElement As Variant
For Each wbElement In WB.Document.Forms(0).elements
If LCase(wbElement.Name) = "myfilebox" Then
wbElement.Click ' This opens the file open dialog box.
' HERE IS WHERE I AM STUCK !!!!
End If
Next wbElement
Is it possible to write file name on this file dialog box and press enter or
ok button somehow?
I really need this help. Please, give me hand if you could.
Thank you.
If you want to email me: jo*****************@hotmail.com