Results 1 to 4 of 4

Thread: [Tutorial] Visual Basic Login

  1. #1
    Powered by ๖ۣۣۜۜVenom
    Join Date
    Mar 2013
    Location
    Hawaii
    Posts
    162
    Rep Power
    5

    [Tutorial] Visual Basic Login

    Bla bla bla visual basic simple login bla bla bla.




    First step is to create a new windows forms application.

    Make sure you have everything on this form.
    (Two TextBoxes, one button.)


    Next step is to double click your BUTTON and copy and paste this code in.
    Code:
    If TextBox1.Text = "" And
                TextBox2.Text = "" Then
                MsgBox("Please enter something")
            End If
            If TextBox1.Text = "Login" And
                TextBox2.Text = "Tutorial" Then
                MsgBox("Login successfull!")
    Else
                MsgBox("Incorrect Username or Password")
            End If
    And you're done!


    If you have any questions, just leave them here.

    The Best VPN!
    VVV Click Below VVV


  2. #2
    Senior Member
    Join Date
    Mar 2013
    Location
    Russia
    Posts
    240
    Rep Power
    5
    lol, easy and fast tutorial.
    but you can make it more simple and easy

    Code:
    If textbox1.text = "Text" and textbox2.text = "Text2" then
    msgbox("Login has been completed!")
    else
    msgbox("Wrong Username or password")
    end if
    And No needer for that.
    Code:
    If TextBox1.Text = "" And
                TextBox2.Text = "" Then
                MsgBox("Please enter something")

    The Best VPN!
    VVV Click Below VVV


  3. #3
    Powered by ๖ۣۣۜۜVenom
    Join Date
    Mar 2013
    Location
    Hawaii
    Posts
    162
    Rep Power
    5
    Quote Originally Posted by Karizan View Post
    lol, easy and fast tutorial.
    but you can make it more simple and easy

    Code:
    If textbox1.text = "Text" and textbox2.text = "Text2" then
    msgbox("Login has been completed!")
    else
    msgbox("Wrong Username or password")
    end if
    And No needer for that.
    Code:
    If TextBox1.Text = "" And
                TextBox2.Text = "" Then
                MsgBox("Please enter something")

    Code:
    If TextBox1.Text = "" And
                TextBox2.Text = "" Then
                MsgBox("Please enter something")
    This is to check if they entered anything.

    Code:
    If textbox1.text = "Text" and textbox2.text = "Text2" then
    msgbox("Login has been completed!")
    else
    msgbox("Wrong Username or password")
    end if
    That was literally the same thing.

    The Best VPN!
    VVV Click Below VVV


  4. #4
    Senior Member
    Join Date
    Feb 2013
    Location
    TN
    Posts
    199
    Rep Power
    5
    Took my sugestion I see

    The Best VPN!
    VVV Click Below VVV


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •