HTML Source Code Reader

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
3 posts Page 1 of 1
Contributors
User avatar
Bloodz_Ninja
Dedicated Member
Dedicated Member
Posts: 69
Joined: Sat Aug 25, 2012 3:20 am

HTML Source Code Reader
Bloodz_Ninja
Well this is the html source code reader of course...

Required:
1 Text Box
2 buttons... button1 - Go... button2- Get Source
1 Web Browser
1 Richrichtextbox
now simply enter these codes
Code: Select all
Imports System.Drawing.Drawing2D

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        WebBrowser1.Navigate(TextBox1.Text)
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        RichTextBox1.Clear()
        RichTextBox1.Text = WebBrowser1.DocumentText
    End Sub
End Class

Image: Image

in the download it has serial code it is 100-500-1532-5923-3904
You do not have the required permissions to view the files attached to this post.
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

Re: HTML Source Code Reader
Shim
good tutorial :)

you can also use HttpWebRequest to do this :) its easy :)
Code: Select all
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(TextBox1.Text)
        Dim response As System.Net.HttpWebResponse = request.GetResponse()

        Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())

        Dim sourcecode As String = sr.ReadToEnd()

        RichTextBox1.Text = sourcecode
    End Sub
Image

source code
You do not have the required permissions to view the files attached to this post.
Find my programs on Softpedia
User avatar
Guy Fawkes
Just Registered
Just Registered
Posts: 6
Joined: Thu Dec 13, 2012 3:55 pm

Re: HTML Source Code Reader
Guy Fawkes
good share bro and mshimranpro thanks for that addon
3 posts Page 1 of 1
Return to “Tutorials”