HTML Source Code Retriever
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.
7 posts
Page 1 of 1
HTML Source Code Retriever
Ok First You Will Need To Add :
*1 Button
*1 Textbox
*And 1 RichTextbox
Button Text = Get Source
And Place Them Like So
![Image]()
Double Click Button1 And Enter This Code :
Textbox1 = Where You Put The Url Make Sure It's Valid And Has http://www. Infront Of It
RichTextbox1 = Where The Source Code Will Code Up
Button1 = Where You Press To View The Source Code
Note: For More Advanced Options You May Want To Edit The Form, Like I Have.
Note: You May Have To Go To The Very Top Of The Page And Type
Ok First You Will Need To Add :
*1 Button
*1 Textbox
*And 1 RichTextbox
Button Text = Get Source
And Place Them Like So

Double Click Button1 And Enter This Code :
Code: Select all
And Your DoneDim Client As New WebClient()
Dim Url As String
Url = TextBox1.Text
Dim Html As String = Client.DownloadString(New Uri(Url))
RichTextBox1.Text = Html
Textbox1 = Where You Put The Url Make Sure It's Valid And Has http://www. Infront Of It
RichTextbox1 = Where The Source Code Will Code Up
Button1 = Where You Press To View The Source Code
Note: For More Advanced Options You May Want To Edit The Form, Like I Have.
Note: You May Have To Go To The Very Top Of The Page And Type
Code: Select all
imports system.net
You do not have the required permissions to view the files attached to this post.
Last edited by ManMega1 on Mon Feb 15, 2010 10:06 pm, edited 2 times in total.
Hello ManMega1,
An application for viewing HTML source and only a few lines of code. Excellent cooll;
I think you should have named your topic title as "HTML Source Code Retriever" though.
Keep them coming ;)
An application for viewing HTML source and only a few lines of code. Excellent cooll;
I think you should have named your topic title as "HTML Source Code Retriever" though.
Keep them coming ;)
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
CodenStuff wrote:Hello ManMega1,yes I thought it was a vb code retriever. But anyway, good work! keep it up, love to see more of this stuff.
An application for viewing HTML source and only a few lines of code. Excellent cooll;
I think you should have named your topic title as "HTML Source Code Retriever" though.
Keep them coming ;)
Thanks again, John

rocky4126 wrote:CodenStuff wrote:Hello ManMega1,yes I thought it was a vb code retriever. But anyway, good work! keep it up, love to see more of this stuff.
An application for viewing HTML source and only a few lines of code. Excellent cooll;
I think you should have named your topic title as "HTML Source Code Retriever" though.
Keep them coming ;)
Thanks again, John
lol i had thought that too but if u want a vb code retriever goto google and search for "Reflector"
CodenStuff wrote:Hello ManMega1,Thanks I Took Your Advice
An application for viewing HTML source and only a few lines of code. Excellent cooll;
I think you should have named your topic title as "HTML Source Code Retriever" though.
Keep them coming ;)
Hi ManMega1
Nice and easy bit of code that does the Biz cooll;
Cheers
Chris
Nice and easy bit of code that does the Biz cooll;
Cheers
Chris
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023