VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



HTML Extractor

by Yariv Sarafraz (2 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

Extremely simple! It extracts HTML code from any given site. Great for newbies. ONLY ONE LINE OF CODE!

Rate HTML Extractor

.


This code will allow you to extract HTML code from any
given website. I know it’s not that exciting, but it comes in handy when you
wanna get passed those ‘no right-click’ scripts.


You only need MSInet.ocx (Microsoft Internet Transfer
Control), a command button, and two textboxes.


Name the first textbox ‘txthtml’ and name the second
‘txturl’. Make the command button’s caption ‘Get HTML’.


Enter this code into the command button …



txthtml.Text = Inet1.OpenURL(txturl.Text)
 



-- It doesn’t get
any simpler than that.

Download this snippet    Add to My Saved Code

HTML Extractor Comments

No comments have been posted about HTML Extractor. Why not be the first to post a comment about HTML Extractor.

Post your comment

Subject:
Message:
0/1000 characters