How to add function to your project
Tutorial By: Soul Collector
Hello to everyone. I saw lots of people asking how to add function to their projects. I saw tons of comments in my "Keylogger Tutorial"how to add "GetWindowState" function. So i decide to show you how to add simple function, its nothing advance .. its just stupid simple function. ENJOY!
STEP 1:
Open Visual Basic
Click File > Clic New Project > Windows Application > Choose name and click OK
STEP 2:
Now when you done with that i'll from toolbar add Button1 only.
STEP 3:
Now open the source and under everything(dont leave class) just type:
Code
Private Function THIS_IS_EXAMPLE_HOW_TO_ADD() As String
MsgBox("HEY EXAMPLE HERE", MsgBoxStyle.Critical, "AHH DAMN")
End FunctionNow double click Button1 and write:
Code
THIS_IS_EXAMPLE_HOW_TO_ADD()And finaly it should look something like this:
Code
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
THIS_IS_EXAMPLE_HOW_TO_ADD()
End Sub
Private Function THIS_IS_EXAMPLE_HOW_TO_ADD() As String
MsgBox("HEY EXAMPLE HERE", MsgBoxStyle.Critical, "AHH DAMN")
End Function
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End ClassThats all 👍 Now you know how to add Function to your project. Cheers
Screenshot:
[img]http://i46.[censored].com/1zfyb7.png[/img]
Download Project:
http://www.mediafire.com/?wodc4km5dnj


