Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB and html

Status
Not open for further replies.

theme

Technical User
Sep 5, 2006
2
KE
hey !

i was wondering if it's possible to
load html sites into VB, and to process on them (read the html code or put text into textforms)

can anyone tell me if and how this is possible?

thanks
 
well it is possible to make a webbrowser.. and im sure there is a way totake the source from it.. so the answer im guessing is yes.. in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
Yep, add the VB WebBrowser control to your form, and do a search on any VB site on it, and you will find a ton of info. You can view html pages on your form, retrieve the source code of any website etc etc etc!
 
even easyer... if you do a search.. i think i remeber seeing code to extract the source with out even having the webcontrol.. like it dls the source or something... search on im SURE there is stuff to help :) in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
Here is something you can start with.

Private Sub Form_Load()

'Components: Microsoft Internet Control
'then place a WebBrowser control on your form
'Reference MSHTML.TLB - may End up being IHTMLDocument3
Dim doc As HTMLDocument
'go tek-tips forums
WebBrowser1.Navigate " 'Wait until page is loaded
Do
DoEvents
Loop Until Not WebBrowser1.Busy

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top