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
Contributors
User avatar
ManMega1
VIP - Site Partner
VIP - Site Partner
Posts: 326
Joined: Thu Dec 31, 2009 6:09 pm

HTML Source Code Retriever
ManMega1
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 :
Code: Select all
Dim Client As New WebClient()
        Dim Url As String
        Url = TextBox1.Text

        Dim Html As String = Client.DownloadString(New Uri(Url))
        RichTextBox1.Text = Html
And Your Done

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.
Image
Image
Image
Image
Image
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4392
Joined: Tue Aug 04, 2009 1:47 am

Re: Source Code Retriever
CodenStuff
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 ;)
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
rocky4126
VIP - Donator
VIP - Donator
Posts: 258
Joined: Mon Nov 16, 2009 7:39 pm

Re: Source Code Retriever
rocky4126
CodenStuff wrote:
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 ;)
yes I thought it was a vb code retriever. But anyway, good work! keep it up, love to see more of this stuff.

Thanks again, John
Image
User avatar
AleRi8
Top Poster
Top Poster
Posts: 153
Joined: Sun Sep 20, 2009 2:30 pm

Re: Source Code Retriever
AleRi8
rocky4126 wrote:
CodenStuff wrote:
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 ;)
yes I thought it was a vb code retriever. But anyway, good work! keep it up, love to see more of this stuff.

Thanks again, John

lol i had thought that too but if u want a vb code retriever goto google and search for "Reflector"
check out my software
win7 itweaker basic £4.50
viewtopic.php?f=70&t=793
User avatar
ManMega1
VIP - Site Partner
VIP - Site Partner
Posts: 326
Joined: Thu Dec 31, 2009 6:09 pm

Re: Source Code Retriever
ManMega1
CodenStuff wrote:
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 ;)
Thanks I Took Your Advice
Image
Image
Image
Image
Image
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Hi ManMega1

Nice and easy bit of code that does the Biz cooll;
Cheers

Chris
Image
User avatar
tedhead2
Excellent Poster
Excellent Poster
Posts: 338
Joined: Sun Jan 03, 2010 8:36 am

Re: HTML Source Code Retriever
tedhead2
I;m going to intergrate this into my web browser.
Image
7 posts Page 1 of 1
Return to “Tutorials”