PDA

View Full Version : Visual Basic 6.0 Tutorial



pwn3r
04-03-2008, 05:32 PM
Tutorial made by Pwn3r Do NOT Leech!



hmm..this tutorial has nothing to do with WarRock.But I guess that I could post since its VB6.Well what we will learn today is gonna be very simple.

First,make standard.exe.
Then,make 2 buttons change theyre name to cmdClean and cmdTryIt (Make sure you change theyre name to that not the caption).
After,you will double click cmdTryIt and will enter the following code:


Dim strPass As String
Dim strName As String
strName = InputBox("Enter your Username", "Title here") 'This here is gonna make a window pop up and ask you for your Username.
strPass = InputBox("Enter your Password", "Title here") 'This here is gonna make a window pop up and ask you for your Password.
Print "Hello there, "; strName 'This is the message that will apear when you put your username and click ok.
Print "Your password: "; strPass 'This is the message that will apear when you put your password and click ok.

It should look to something like this:


Private Sub cmdTryIt_Click()
Dim strPass As String
Dim strName As String
strName = InputBox("Enter your Username", "Title here") 'This here is gonna make a window pop up and ask you for your Username.
strPass = InputBox("Enter your Password", "Title here") 'This here is gonna make a window pop up and ask you for your Password.
Print "Hello there, "; strName 'This is the message that will apear when you put your username and click ok.
Print "Your password: "; strPass 'This is the message that will apear when you put your password and click ok.
End Sub


Then,double click cmdClean and enter:


Cls

Should look like this:


Private Sub cmdClean_Click()
Cls
End Sub

Then go ahead and push play.Press on the command TryIt and you should have a window pop up asking ur username and then another window asking ur password.After that,It will say Hello there,(username) Your password is: (password)

Euhh...If there's eny problemes tell me I will help you.

Tutorial made by Pwn3r Do Not Leech!

pwn3r
04-03-2008, 06:34 PM
Thank You :D

frostbitekid
04-03-2008, 07:03 PM
how do we set a pass and username?

pwn3r
04-03-2008, 07:08 PM
I dont know yet will try and find out....and if I do find out then I will release :P

frostbitekid
04-03-2008, 07:11 PM
lol so right now its pretty much useless?

pwn3r
04-03-2008, 07:19 PM
well..yeh...I just found it fun :P