By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,510 Members | 1,810 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,510 IT Pros & Developers. It's quick & easy.

can VB textboxes refer to webpage textboxes

P: 15
hi guys,

i am making a kind of webrowser and it automaticly navigates to a sign up page what i want is the user to put the details in textboxs inside the vb client and then when submit is pressed transer the information from the textboxes to the textboxes on the
website.

What i am wanting to know is if it is possible to do this and how to do it my knowledge of using VB this way is limited..
is there a way to make a textbox within the client refer to a textbox on the webpage

Thank you for your time !



Additional questions :

is it possible to make it so when the webbrowser loads loads the webpage for it to load at a set position so the user doesn't have to use the browsers V scroll and H scroll to view the input area.
Sep 19 '07 #1
Share this Question
Share on Google+
2 Replies


P: 15
anybody answer this please i have crawled google but still no luck
Sep 20 '07 #2

QVeen72
Expert 100+
P: 1,445
Hi,

U can use a WebBrowser Control, navigate to the Selected URL using "Navigate2" method and use this code:

Expand|Select|Wrap|Line Numbers
  1. Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
  2. Label1.Caption = WebBrowser1.Document.All("myElemName").innerHTML
  3. End Sub
  4.  
REgards
Veena
Sep 20 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.