Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27046

Autofill Web form without Web Browser

$
0
0
Background:
After browsing this and other forums for the past two days I decided it's be best just to register and ask. At my company we use a software called Encompass360. One of the features is creating customized forms. I have had great success (and a great deal of fun as well) learning through experience how to program and manipulate the fields. However I have gotten stuck at auto filling web forms. It was so easy using parameters in the url, but for the specific site I'm using that is not an option.

Issue:
I'm trying to auto populate a login for a website but all the guides i have come across to do this are using a visual basic software that has a web browser (wb) that you use to do that. The software I have to use does not have this. FYI I'm not allowed/required to write the headers (for example 'sub .....' sorry i'm not familiar with the correct terminology). Here's what i have so far (the logins are the first initial and last name.)

Dim S As String
Dim txt As String
Dim lastWord As String
Dim answer As Char
Dim Login As String
Dim ie As Object

'the loan team member name would be Huey Hefner for example'
S = Macro.GetField("LoanTeamMember.Name.File Starter")
answer = S.Substring(0, 1)
txt = Macro.GetField("LoanTeamMember.Name.File Starter")
lastWord = txt.Substring(txt.LastIndexOf(" ")+1)
Login = answer + lastWord


If someone could demonstrate or guide me on how to get the 'Login' string i have created to the search field on www.google.com I could figure out how to assign it to the website I need. I'm already know the element Ids for it. The element id for the google search is gbqfif

Viewing all articles
Browse latest Browse all 27046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>