README.md
December 5, 2022 · View on GitHub
Description
Extremely simple! It extracts HTML code from any given site. Great for newbies. ONLY ONE LINE OF CODE!
More Info
| Submitted On | |
| By | Yariv Sarafraz |
| Level | Beginner |
| User Rating | 4.3 (17 globes from 4 users) |
| Compatibility | VB 4.0 (32-bit), VB 5.0, VB 6.0 |
| Category | Internet/ HTML |
| World | Visual Basic |
| Archive File |
Source Code
.
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.