Thenolos
Technical User
- Jul 15, 2004
- 38
Hello,
I'm creating an application that logs on to a website and files paperwork with that website automatically. Everything is going peachy with the exception of uploading my PDF documents to the site (one of the final stages). I know the direct file location to the PDFs and want to have that location placed in the "Choose file:" field on the website.
Unfortunately the File input type does not work the same way as a normal text box... so something like this:
will not work...
Does anybody have any ideas of how I might do this without using SendKeys?
Thanks for any help.
I'm creating an application that logs on to a website and files paperwork with that website automatically. Everything is going peachy with the exception of uploading my PDF documents to the site (one of the final stages). I know the direct file location to the PDFs and want to have that location placed in the "Choose file:" field on the website.
Unfortunately the File input type does not work the same way as a normal text box... so something like this:
Code:
With obIE.Document.Frames("main").Document
.all.Item("file_1").Value = "c:\file.pdf"
End With
will not work...
Does anybody have any ideas of how I might do this without using SendKeys?
Thanks for any help.