Connecting Tech Pros Worldwide Forums | Help | Site Map

Text only web browser in VB 6.0

chelf's Avatar
Member
 
Join Date: Jan 2007
Posts: 54
#1: Oct 7 '09
Hello,

I need to make a text-only web browser in visual basic 6.0. I designed one but I need to add the compatibility of submitting usernames and passwords to sites. Anyone know how to do this or where I can get example source code?

Thanks

Dököll's Avatar
Moderator
 
Join Date: Nov 2006
Location: Upstate NY - US
Posts: 2,268
#2: 2 Weeks Ago

re: Text only web browser in VB 6.0


I am adding something I found elsewhere, hope it is helpful. You might want to add you code next time, give us an idea:

Expand|Select|Wrap|Line Numbers
  1.  
  2. With WebBrowser
  3. 'Fill in the text boxes
  4. .Document.Forms(0).All("name").Value = "This is the 1st text box"
  5. .Document.Forms(0).All("current").Value = "This is the 2nd text box"
  6. .Document.Forms(0).All("password").Value = "This is the 3rd text box"
  7. .Document.Forms(0).All("abc").Value = "This is the 4th text box"
  8.  
  9. 'Send in the form
  10. .Document.Forms(0).All("Submit").Click
  11. 'OR
  12. .Document.Forms(0).Submit
  13. End With
  14.  
  15.  
Reply