How to Create Patch file for IDM (Internet Download Manager) using MS Visual Studio
Software You Need:
- Microsoft Visual Studio (Version 2010 used in this Tutorial)
First of all, you need to make a Crack file of IDM, i.e IDMan.exe.
You can do it using odbg110, Hackers Disassembler, W32Dasm 8.93, Hiew e.t.c
If you don't know how to Crack any program, you can google it and learn it.
So come back to Point, After making Crack file, follow the following steps to create patch file of IDM.
Part 1: Create Simple Patch File.
Step # 1:
After Downloading and installing MS Visual Basic, Run it as Administrator.
Step # 2:
Open "New Project" and select "Windows Forms Application"
Name your Project Whatever you want.
After form Opened, Do some basic thing like, Rename form text and choose icon from Properties of your form.
Step # 3:
Now Add Labels and 3 Buttons and named them as shown in Picture Below.
Step # 4:
Double Click on "Button1" and Write Following codes:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If My.Computer.FileSystem.FileExists("C:\Program Files\Internet Download Manager\IDMan.exe") Then Status.Text = "Old EXE has been Found !" IO.File.Delete("C:\Program Files\Internet Download Manager\IDMan.exe") Status.Text = "Old EXE has been Deleted !" IO.File.WriteAllBytes("C:\Program Files\Internet Download Manager\IDMan.exe", My.Resources.IDMan) Status.Text = "Patch Success!" Me.Visible = False Register.Visible = True Button1.Enabled = False Else Status.Text = "Old EXE not Found !" MsgBox("First Install the Program! OR Try 64-bit Patch", MsgBoxStyle.Critical) End If End Sub |
Now Double Click on "Button2" and Write Following codes:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If My.Computer.FileSystem.FileExists("C:\Program Files (x86)\Internet Download Manager\IDMan.exe") Then Status.Text = "Old EXE has been Found !" IO.File.Delete("C:\Program Files (x86)\Internet Download Manager\IDMan.exe") Status.Text = "Old EXE has been Deleted !" IO.File.WriteAllBytes("C:\Program Files (x86)\Internet Download Manager\IDMan.exe", My.Resources.IDMan) Status.Text = "Patch Success!" Me.Visible = False Register.Visible = True Button2.Enabled = False Else Status.Text = "Old EXE not Found !" MsgBox("First Install the Program! OR Try 32-bit Patch", MsgBoxStyle.Critical) End If End Sub |
Note: If you get error because of status so Status.Text = "whatever it is" , Delete it from the codes.
Now Double Click on "Button3" and Write Following codes:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Me.Close() End Sub |
Step # 5:
Now Open Project Properties from tool bar.
Add your files which in this case is "IDman.exe" in resourse.
Part 2: Add Registry Data.
Step # 1:
On the toolbar, Click on "Project" and then Select "Add New Form".
Here, You can add new "Windows Form" i.e, "form2".
After adding new form do some basic thing again like label, icon and beauty.
Step # 2:
Now add one "Button" and two "textbox" as shown in picture. (Textbox3 has no use in operation).
Step # 2:
Double click on "Button1" and add following codes:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Internet Download Manager", "FName", TextBox1.Text) My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Internet Download Manager", "LName", TextBox2.Text) My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Internet Download Manager", "Email", "xuntron69@gmail.com") My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Internet Download Manager", "Serial", "SANDY-SEEDI-NGSAN-DYSEE") My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Internet Download Manager", "InstallStatus", 3, Microsoft.Win32.RegistryValueKind.DWord) My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Internet Download Manager", "AdvIntDriverEnabled2", 1, Microsoft.Win32.RegistryValueKind.DWord) MsgBox("Your IDm is Activated", MsgBoxStyle.Information) Me.Visible = False Form1.Visible = True End Sub |
Step # 3:
At last, make build of your app or publish it. (After Testing using debug button on toolbar)
Done! happy Patching.
If You Got any Problem or Question about Tutorial. Email me on "xuntron69@gmail.com"
or comment below.
If you want these codes script content me, I will sent you.
Blogger Comment