Support Forums
[VB.Net][Source] Memory Pumper - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19)
+---- Thread: [VB.Net][Source] Memory Pumper (/showthread.php?tid=5634)

Pages: 1 2


[VB.Net][Source] Memory Pumper - BlackSpider - 04-06-2010

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.


RE: [VB.Net][Source] Memory Pumper - Notieboie - 04-06-2010

Please dont copy paste stuff from hackforums
or u will be banned soon


RE: [VB.Net][Source] Memory Pumper - BlackSpider - 04-06-2010

Lol, I'm Soul Collector. Also, the icon changer was found on internet and recoded by me. Big Grin


RE: [VB.Net][Source] Memory Pumper - S1cKL3R - 04-06-2010

Nice and simple. Thanks for the nice contribution.


RE: [VB.Net][Source] Memory Pumper - Notieboie - 04-06-2010

(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


RE: [VB.Net][Source] Memory Pumper - Navineous - 04-06-2010

look easy to use and good, thanks alot for source code, shall use for sf


RE: [VB.Net][Source] Memory Pumper - Aero - 04-11-2010

Looks good, thanks for the source code Big Grin
I tried making one once, it didn't work Sad
I might try again sometime


RE: [VB.Net][Source] Memory Pumper - rens23 - 04-13-2010

That looks good thank you for sharing the source!


RE: [VB.Net][Source] Memory Pumper - Anubis™ - 04-14-2010

Thanks again here on SF SC =D


RE: [VB.Net][Source] Memory Pumper - TurB0 - 04-14-2010

nice ! thank you!