Results 1 to 4 of 4
  1. #1
    Jimmy VB's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    160
    Reputation
    10
    Thanks
    11

    Simple Log-In System For Cho0bs

    hi guys,well im a cho0b myself and i have a hard time learning what all these pros are saying in code so i decided to make my own tutorial
    MMk all code will be in green and im not just going to give u the code in a download attchment u have to read this haha
    mmmk first off open VB 2010 or VB 2008 dosnt matter there practiclly the same lol
    make 2 Labels
    then 2 TextBox's
    then 2 Buttons
    these can all be found in the toolbox
    place then like you would a log-in system
    now its time 2 code!
    first off click button one and without clicking anythin else type in "login"
    then click button two and type in "Cancel"
    ok so then double click the "cancel" button
    and all this code stuff should come up
    ok so enter Me.close()
    that code makes it so when you click that button your app closes (handy eh?)
    ok now that you have done that,double click onthe "login" button and type the following code
    if textbox1.text = "username" and textbox2.text = "password" then
    msgbox "Welcome,Thank you for login'" then
    Me.hide()
    else
    msgbox "FATAL ERROR,IT APPERARS YOUR A FAG!"
    end sub


    after that it should work,if you want to change the username and password,just change "username" to like "Jimmy VB" and "password" to "lol"
    or whateva,if i missed anythin please comment on it ,i didnt have VB open coz i have 2 re-install it so... anyway have fun cho0bs!

  2. #2
    h3X's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Oslo, Norway
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Cynical
    I'm suddenly ashamed of my user-title.

  3. #3
    Jimmy VB's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    160
    Reputation
    10
    Thanks
    11
    lol u should me

  4. #4
    DayumKen's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Houston, Texas, USA.
    Posts
    130
    Reputation
    10
    Thanks
    46
    My Mood
    Inspired
    For Me.Close(), you could just type in End, saves time. XD

    And, you missed a gazillion things:

    What to do with the labels
    For the password textbox, they have to be shown as ********************
    Why you need to login. XD
    Last edited by DayumKen; 07-09-2010 at 03:42 PM.

Similar Threads

  1. [Release] CA Chat + PHP Log in System
    By Pixie in forum Combat Arms Hacks & Cheats
    Replies: 24
    Last Post: 12-13-2009, 11:36 PM
  2. Best operating system for a new hacker
    By hooter222 in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 06-01-2009, 06:39 PM
  3. simple charms not working for you??? i have a fix
    By brendyboy in forum Combat Arms Hacks & Cheats
    Replies: 12
    Last Post: 03-06-2009, 09:39 PM
  4. Anti Leech System For a D3D
    By condor01 in forum Programming Tutorial Requests
    Replies: 5
    Last Post: 05-17-2008, 11:04 AM
  5. Simple Log-In Tutorial.
    By Synns in forum Visual Basic Programming
    Replies: 15
    Last Post: 10-27-2007, 09:51 AM