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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange web browser question

Status
Not open for further replies.

f1car

Technical User
Apr 2, 2001
69
US
I know that you can add port address to the ends of urls in the web browser to do different things such as :80 for http and :21 for ftp also there are some reserved ports.

My queston is can you force a VB program to talk to a regular web browser, maybe via a unused port on the web browser?

What I'm trying to do is replace the internet with mt VB program sort of like this.

web browser <--> vb program <--> DB

But I don't want to ever leave my pc.
 
Just &quot;talk&quot; to the WebBrowser Control or MS INET Control (can't help here, have not used).

Project / Components / Microsoft Internet Controls (WebBrowser).
With the WebBrowser you can at least see what is coming across. You use VB to Navigate and then at the DocumenmtrComplete Event, manipulate the HTML with the DHTML methods. Keep to IE4.x compatible if you intend to distribute.
Start with
strHTML = WebBrowser1.Document.all(0).innerHtml
(gets everything between <HTML> and </HTML>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top