Results 1 to 11 of 11
  1. #1
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,109

    [Tutorial]External Notice

    So, I'll teach you how to make a notice, which you can update anytime, without updating your program.


    Above public class you'll need to write the following:

    Code:
    Imports System.net
    Under public class where you usually declare stuff:

    Code:
    #Region "Settings"
        Const strNotice As String = "https://link-to-your/notice.txt"
    
    #End Region

    Using a richtextbox:

    Code:
    Sub LoadNotice()
            Try
                Dim request As HttpWebRequest = WebRequest.Create(strNotice)
                Dim response As HttpWebResponse = request.GetResponse()
                Dim reader As StreamReader = New StreamReader(response.GetResponseStream())
                Richtextbox1.Text = reader.ReadToEnd()
                response.Close()
                reader.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
        End Sub
    You might put this into form_load or on any button:

    Code:
     LoadNotice()
    Just upload the .txt to your root/ftp w/e.

    Try it out

    Thank me if I helped you


  2. #2
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Good job.

    Really n00by tutorial though.

  3. #3
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Information may come in handy, Tutorial lacks a little, But not bad.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  4. #4
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    Good Job tutorial could use a few pics but overall good

  5. #5
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Not bad. Will try later

  6. #6
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Quote Originally Posted by lolland View Post
    Good job.

    Really n00by tutorial though.
    lol you say that to every tutorial.

  7. #7
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Quote Originally Posted by XGelite View Post
    lol you say that to every tutorial.
    Not to Nextgen's

  8. The Following User Says Thank You to Lolland For This Useful Post:

    NextGen1 (01-25-2010)

  9. #8
    SPittn_Blood's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    148
    Reputation
    10
    Thanks
    15
    My Mood
    Inspired
    All I did for mine was
    Dim client As New System.Net.WebClient()
    RichTextBox1.Text = client.DownloadString("www."".txt")

    Pixie force!

    -Current Projects-
    _______________________
    \//Stuff.. :P//\
    Current Code: C#

  10. #9
    ppl2pass's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    804
    Reputation
    5
    Thanks
    111
    My Mood
    Amused
    i have an error. it says streamreader is not defined.

  11. #10
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Code:
    Imports System.IO
    Put that at at the top.

    And please refrain from bumping old threads.

  12. #11
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Imports System.net
    Imports System.IO

    let me know if that helps


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. Warrock Hack - Tutorial
    By Dave84311 in forum WarRock - International Hacks
    Replies: 667
    Last Post: 10-09-2007, 10:10 AM
  2. Gunz Hack - Tutorial
    By Dave84311 in forum General Game Hacking
    Replies: 12
    Last Post: 01-09-2006, 08:16 PM
  3. Replies: 3
    Last Post: 01-04-2006, 09:52 PM
  4. Photoshop Tutorials
    By Dave84311 in forum Art & Graphic Design
    Replies: 3
    Last Post: 12-31-2005, 07:21 AM
  5. Notice: To spamming newbs.
    By Dave84311 in forum General
    Replies: 0
    Last Post: 12-26-2005, 10:56 PM