I have a VB application maintaining data that, ideally, I would like to submit to a specific web site at the click of a button. However, I have no control over the design, content or underlying logic of the web-site which is operated by a third party – I simply want to complete a number of fields on an on-line form within the site then submit without user intervention.
I have experimented with the Shell command to connect to the web site and SendKeys to navigate via TAB’s to the relevant fields and have some success in both activating the web site in Explorer and in submitting a username and password. However, I cannot access some fields using SendKeys & TAB no matter how hard I try.
Is there a better way of doing this or is there a way of getting to the appropriate button/field without using TAB? I have considered using API & SetCursorPos but I suspect that this would not really be practical to implement as Window sizes and co-ordinates would vary for different users.
Thanks in advance.
I have experimented with the Shell command to connect to the web site and SendKeys to navigate via TAB’s to the relevant fields and have some success in both activating the web site in Explorer and in submitting a username and password. However, I cannot access some fields using SendKeys & TAB no matter how hard I try.
Is there a better way of doing this or is there a way of getting to the appropriate button/field without using TAB? I have considered using API & SetCursorPos but I suspect that this would not really be practical to implement as Window sizes and co-ordinates would vary for different users.
Thanks in advance.