borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (InternetExplorer refresh EVENT)Next Topic (Screen scraping) New Topic New Poll Post Reply
AndreaVB Forum : Internet Applications : Fill-a-Form Solved Topic
Poster Message
Vpa
Level: Sage


Registered: 14-03-2004
Posts: 66

icon Fill-a-Form

I'm trying to fill in a form on a weppage
I hae it working with a webbrowser and sendkeys ({tab} username {tab}, etc) but in this case the webbrowser must keep focus
Does anyone know how to handle this with pure code i.e webbrowser.document.body.textbox.value = "username"
Or whatever.

Does anyone know how to fill the textboxes and send the form automatic?

btw: the textboxes have an ID and a Name in the HTML code
-> ID      = Login_Username
-> Name = Login:Username

____________________________
Shondoit fais G'ot < http://home.deds.nl/~7dfp >

28-10-2005 at 11:30 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
TJ_01
Level: VB Lord


Registered: 24-08-2005
Posts: 320
icon Re: Fill-a-Form

quote:
Vpa wrote:
Does anyone know how to fill the textboxes and send the form automatic?

btw: the textboxes have an ID and a Name in the HTML code
-> ID      = Login_Username
-> Name = Login:Username


I dont think that this is possible. Because a webbrowser control is use for internet explorer and navigate url over the internet. But there are another way to this, you can make a asp page which has a userid and password running on web and can call a vb form or apps using JavaScript Shell function.


____________________________
Im JAMES  
09-11-2005 at 04:58 AM
View Profile Send Email to User Show All Posts | Quote Reply
Vpa
Level: Sage


Registered: 14-03-2004
Posts: 66
icon Re: Fill-a-Form

Well actually it is possible
WebBrowser.Document.Body.GetElementByID(ID_Name).value=Username

____________________________
Shondoit fais G'ot < http://home.deds.nl/~7dfp >

14-11-2005 at 10:19 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : Internet Applications : Fill-a-Form Solved Topic
Previous Topic (InternetExplorer refresh EVENT)Next Topic (Screen scraping) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder