Results 1 to 3 of 3
  1. #1
    u1111u's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    uk
    Posts
    262
    Reputation
    9
    Thanks
    49
    My Mood
    Buzzed

    Exclamation *Tut* How To Make A Simple Notepad

    This tut is on how to make a simple notepad in vb8
    keep patient because i will release tut on how to make a advanced notepad!.

    Lets start:

    First you will need :
    menu strip
    Rich text box

    thats about all :L

    First click on the menu strup and type
    file
    then under file type new
    open
    save
    then next to file type edit
    under edit type:
    undo
    redo
    now next to edit type format
    under format type:
    font
    colour

    now you should have some thing looking like this:




    now for the code (i bet you liek wow :L)

    New:
    RichTextBox1.Clear()

    Open:
    Try
    Dim dlg As OpenFileDialog = New OpenFileDialog
    dlg.Title = "Open"
    dlg.Filter = "Rich Text Files (*.rtf)|*.rtf"
    If dlg.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
    RichTextBox1.LoadFile(dlg.FileName)
    End If
    Catch ex As Exception : End Try

    Save:
    Try
    Dim dlg As SaveFileDialog = New SaveFileDialog
    dlg.Title = "Save"
    dlg.Filter = "Rich Text Files (*.rtf)|*.rtf"
    If dlg.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
    RichTextBox1.SaveFile(dlg.FileName, RichTextBoxStreamType.RichText)
    End If
    Catch ex As Exception : End Try

    Undo:
    RichTextBox1.Undo()

    Redo:
    RichTextBox1.Redo()

    Cut:
    RichTextBox1.Cut()

    Copy:
    RichTextBox1.Copy()

    Paste:
    RichTextBox1.Paste()

    Clear:
    RichTextBox1.Clear()

    Select All:
    RichTextBox1.SelectAll()

    font:
    Try
    Dim dlg As FontDialog = New FontDialog
    dlg.Font = RichTextBox1.Font
    If dlg.ShowDialog = System.Windows.Forms.DialogResult.OK Then
    RichTextBox1.Font = dlg.Font
    End If
    Catch ex As Exception : End Try

    Colour:
    Try
    Dim dlg As ColorDialog = New ColorDialog
    dlg.Color = RichTextBox1.ForeColor
    If dlg.ShowDialog = System.Windows.Forms.DialogResult.OK Then
    RichTextBox1.ForeColor = dlg.Color
    End If
    Catch ex As Exception : End Try

    *NOTE*
    I made this tut on my site...so im not trying to take credit(and is this leeching?)

    please please thank me if this worked becuase it took alot of time
    Joe06 Backup

  2. The Following User Says Thank You to u1111u For This Useful Post:

    hopefordope (01-28-2010)

  3. #2
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    where is the copy, paste and cut things (not metioned before)

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  4. #3
    Spookerzz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,647
    Reputation
    26
    Thanks
    572
    The Code he means xD
    I'm back.

Similar Threads

  1. [Tut]How to Make KoWarrock Account Easy
    By EyalZamir in forum WarRock Korea Hacks
    Replies: 181
    Last Post: 06-08-2008, 12:05 PM
  2. (TUT)how to make your own warrock menu
    By aprill27 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 09-21-2007, 03:46 PM
  3. [TuT] How to make PW and value box for Guns/Superjump/SkyStormer(VB6)
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 14
    Last Post: 06-30-2007, 01:09 PM
  4. [Request]Tut how to make his own bypass
    By BurakG in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-08-2007, 02:46 PM
  5. Tut: how to make cheese
    By ace76543 in forum General
    Replies: 14
    Last Post: 01-14-2007, 09:39 AM

Tags for this Thread