Thread: [VB] How to make a source code retriever [VB]

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 [VB] How to make a source code retriever [VB] 
    Registered Member
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    How to make a source code retriever


    You can download visual studio 2011 Beta edition here (Free): Downloads | Microsoft Visual Studio

    1. Press CTRL+N and name your project then press "ok"


    2. Go to your toolbox and drag the following components onto your application: 3x label, 2x textbox, 2x button & 1x save file dialog.

    And set them up like so:


    3. Double click "Get source" and put the following code "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()

    TextBox2.Text = sourcecode"

    4. Double click "Save as HTML" and put the following code "SaveFileDialog1.ShowDialog()"

    5. Double click "SaveFileDialog1" which is located at the bottom of visual basic. and put the following code "Dim filetosaveas As String = SaveFileDialog1.FileName

    Dim objwriter As New System.IO.StreamWriter(filetosaveas)
    objwriter.write(TextBox2.Text)"

    You now have a fully working source retriever, you can also save it as HTML!
    Reply With Quote  
     

  2. #2  
    Hei
    Hei is offline
    Ex-Moderator
    Hei's Avatar
    Join Date
    Dec 2006
    Age
    17
    Posts
    2,624
    Thanks
    937
    Thanked 615 Times in 321 Posts
    Rep Power
    2289
    First off, why would anybody here want to learn VB?
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    Registered Member

    Join Date
    Jan 2012
    Posts
    137
    Thanks
    64
    Thanked 67 Times in 33 Posts
    Rep Power
    116
    Quote Originally Posted by sKyrO View Post
    First off, why would anybody here want to learn VB?
    Because as much as it sticks in my throat to say this, VB is still popular, it is still used professionally worldwide and it's also what most new programmers turn to.
    Reply With Quote  
     

  5. #4  
    RuneFatality


    Join Date
    May 2009
    Age
    16
    Posts
    2,347
    Thanks
    1,084
    Thanked 386 Times in 244 Posts
    Rep Power
    509
    Quote Originally Posted by skyro View Post
    First off, why would anybody here want to learn VB?
    My computing teacher insisted on teaching us VB.
    Reply With Quote  
     

  6. #5  
    Banned Refactored's Avatar
    Join Date
    Apr 2011
    Age
    18
    Posts
    1,275
    Thanks
    371
    Thanked 175 Times in 134 Posts
    Rep Power
    0
    Quote Originally Posted by skyro View Post
    First off, why would anybody here want to learn VB?
    > Booter
    > Keylogger
    > Rat
    Reply With Quote  
     

  7. #6  
    Pon de Floor


    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Age
    17
    Posts
    6,748
    Thanks
    3,108
    Thanked 2,562 Times in 1,425 Posts
    Rep Power
    5000
    Quote Originally Posted by Spiral View Post
    > Booter
    > Keylogger
    > Rat
    VB is a horrible language to do anything in, let alone that.
    Quote Originally Posted by Original View Post
    Yeah, I haven't used JFrame before, I've always used OpenGL
    I coded a boolean once
    ¯\_(ツ)_/¯ lol idk just rep me
    Reply With Quote  
     

  8. #7  
    I'm you..


    Join Date
    Dec 2011
    Posts
    310
    Thanks
    25
    Thanked 16 Times in 14 Posts
    Rep Power
    183
    Quote Originally Posted by Mister Maggot View Post
    VB is a horrible language to do anything in, let alone that.
    Explain me: Why is it terrible?
    Reply With Quote  
     

  9. #8  
    Registered Member Vek.'s Avatar
    Join Date
    Jun 2012
    Posts
    22
    Thanks
    24
    Thanked 10 Times in 10 Posts
    Rep Power
    34
    Visual basic is a dumbed down programming language (hence the word BASIC).
    Spoiler for Pretty Girls:
    Because pretty girls are always relevant
    Reply With Quote  
     

  10. #9  
    Registered Member Gubsta's Avatar
    Join Date
    Jun 2012
    Age
    23
    Posts
    114
    Thanks
    7
    Thanked 10 Times in 10 Posts
    Rep Power
    34
    I don't understand this hate on VB.net, it's employing tens of thousands of people just like Java, C languages, PHP, Python, etc.. It's one of the most fun ways of making programs imo.
    I like it!
    Reply With Quote  
     

  11. #10  
    o.O
    Tylerr's Avatar
    Join Date
    May 2011
    Age
    18
    Posts
    1,449
    Thanks
    1,417
    Thanked 526 Times in 321 Posts
    Rep Power
    150
    Quote Originally Posted by Turkleton View Post
    Because as much as it sticks in my throat to say this, VB is still popular, it is still used professionally worldwide and it's also what most new programmers turn to.
    I resent VB because my teacher forced us to learn it. >_>
    Reply With Quote  
     


Page 1 of 2 12 LastLast
Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Source Code
    By Diverse Reality in forum Reviews
    Replies: 10
    Last Post: 07-12-2012, 05:14 PM
  2. Runescape Highscores retriever.
    By Mdog in forum Application Development
    Replies: 6
    Last Post: 03-11-2009, 10:16 PM
  3. [java] crc retriever
    By xiphias_ in forum Application Development
    Replies: 5
    Last Post: 09-25-2008, 07:47 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •