Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.Net][Source] Memory Pumper
#1
Thanks to t0fx who fixed my source Oui

What we need:
[Image: sanstitrebq.jpg]

Source Code:

Code:
Imports System.IO

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        OpenFileDialog1.DefaultExt = "exe"
        OpenFileDialog1.Filter = "exe files (*.exe)|*.exe"
        OpenFileDialog1.FilterIndex = 1
        If OpenFileDialog1.ShowDialog(Me) = DialogResult.OK Then
            TextBox1.Text = String.Empty
            TextBox1.Text = OpenFileDialog1.FileName
        End If
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        If TextBox1.Text = "" Then
            MsgBox("Enter bytes to add")
        Else
            Dim file1 = File.OpenWrite(TextBox1.Text)
            Dim siza = file1.Seek(0, SeekOrigin.[End])
            Dim size = Convert.ToInt32(TextBox2.Text)
            Dim bite As Decimal = size * 1048576
            While siza < bite
                siza += 1
                file1.WriteByte(0)
            End While
            file1.Close()
            MessageBox.Show("Done !")
        End If
    End Sub
End Class

Basically thats it, simple file pumper.
Reply
#2
Please dont copy paste stuff from hackforums
or u will be banned soon
Reply
#3
Lol, I'm Soul Collector. Also, the icon changer was found on internet and recoded by me. Big Grin
Reply
#4
Nice and simple. Thanks for the nice contribution.
Site Owner: http://www.awesomelounge.com

Feel free to join. It's full of greatness.


[Image: s1ckl3r2.png]
Reply
#5
(04-06-2010, 03:59 AM)BlackSpider Wrote: Lol, I'm Soul Collector. Also, the icon changer was found on internet and recoded by me. Big Grin

Omg sorry for all my post , lol its actually so funny to know that u are sc
Welcome dude
Reply
#6
look easy to use and good, thanks alot for source code, shall use for sf
[Image: Navineous.gif]
Reply
#7
Looks good, thanks for the source code Big Grin
I tried making one once, it didn't work Sad
I might try again sometime
[Image: Imageaero.jpg?t=1303609442]
Reply
#8
That looks good thank you for sharing the source!
Reply
#9
Thanks again here on SF SC =D
Reply
#10
nice ! thank you!
Returning to SF / HF. Long story Tongue
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Free Advanced Port Scanner SOURCE [ VB.NET ] Filefinder 6 5,348 01-22-2013, 04:27 AM
Last Post: TalishHF
  [VB.NET]Console app Menu example (amortization calculator)[Source] KoBE 8 7,609 12-28-2012, 06:55 AM
Last Post: mouse719
  [VB.NET] Get Region Info [Source] ƃu∀ ıʞƃu∀ 0 1,112 11-28-2012, 04:38 AM
Last Post: ƃu∀ ıʞƃu∀
  How To Make And Use A Builder And Stub. [VB.NET] [Source] Vorfin 35 21,190 11-25-2012, 10:34 PM
Last Post: ƃu∀ ıʞƃu∀
  [Source] Tricks Using PictureBox Control [VB.NET] Fragma 8 6,016 11-25-2012, 10:32 PM
Last Post: ƃu∀ ıʞƃu∀

Forum Jump:


Users browsing this thread: 3 Guest(s)