Results 1 to 7 of 7

Thread: [RESOLVED] Can you help with login forms

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Location
    wisconsin
    Posts
    6

    Resolved [RESOLVED] Can you help with login forms

    okay well i'm just messing around with visual basic 2008 and im not that good at it and i want to make something that uses a login form but its not meant to be online so how do i go about that i'll show you what i got so far.
    Code:
    Dim Passwords As String
        Dim Usernames As String
    
        Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
            Passwords = "login" Or "1234" Or "Login"
            Usernames = "Admin" Or "Guest"
            If Passwords And Usernames = False Then Close() Else Form1.Show()
    
        End Sub
    Last edited by skeletonchoji; Jul 12th, 2010 at 05:26 PM.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width