.:`=-~rANdOm~`-=:. Game Servers

Technology (Read Only) => Programming => Topic started by: youaintgotnopancakemix on September 19, 2011, 06:05:02 PM

Title: Visual basic login program
Post by: youaintgotnopancakemix on September 19, 2011, 06:05:02 PM
Should only be three lines
Dim password as string
While
input box
End while
So bacilli I need it to repeat until the value is met I have until friday to figure this out
Title: Re: Visual basic login program
Post by: ursus on September 19, 2011, 06:11:53 PM
...And?
Title: Re: Visual basic login program
Post by: jimonions on September 20, 2011, 12:32:28 AM
I think he wants us forum people to help him.
Title: Re: Visual basic login program
Post by: youaintgotnopancakemix on September 20, 2011, 02:53:17 AM
Bingo. Google couldn't find anything so I rely on the forum people
Title: Re: Visual basic login program
Post by: aerobro on September 20, 2011, 05:30:26 AM
...And?
:thumbsup:
Title: Re: Visual basic login program
Post by: youaintgotnopancakemix on September 20, 2011, 08:48:38 AM
On topic
Title: Re: Visual basic login program
Post by: ursus on September 20, 2011, 03:48:38 PM
Do you need the project, or the compiled app?
Title: Re: Visual basic login program
Post by: youaintgotnopancakemix on September 20, 2011, 05:42:55 PM
Just the code. Feel free to just copy and paste out on here
Title: Re: Visual basic login program
Post by: ursus on September 20, 2011, 05:51:16 PM
Just the code. Feel free to just copy and paste out on here

Code: [Select]
Public Class Form1
    Dim password = "password"

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If TextBox1.Text = password Then
            MsgBox("Thank you for logging in!")
            Me.Close()
        Else
            MsgBox("Password incorrect.")

        End If
    End Sub
Title: Re: Visual basic login program
Post by: youaintgotnopancakemix on September 21, 2011, 02:53:25 AM
Input box and a while loop my teacher says it only need to be four lines
Title: Re: Visual basic login program
Post by: [Valor]iPounce on September 21, 2011, 07:14:32 AM
God dangit i forgot how yo use visual basic. Iwas like best in tje class
Title: Re: Visual basic login program
Post by: ursus on September 21, 2011, 07:34:46 AM
Input box and a while loop my teacher says it only need to be four lines

I just made a form, text box, and button like any normal person. If you want it different, do it yourself.
Title: Re: Visual basic login program
Post by: youaintgotnopancakemix on September 21, 2011, 08:53:35 AM
If your going to help then why not follow instructions?

Rich guy: make me a blue house
Derp: mngr kay hffjhf
Rich guy: make it blue
derp builds red house
Get the point?
You probably just read the title and thought "hurr I'll show you login"
Title: Re: Visual basic login program
Post by: Sabb on September 21, 2011, 09:08:01 AM
If your going to help then why not follow instructions?

Rich guy: make me a blue house
Derp: mngr kay hffjhf
Rich guy: make it blue
derp builds red house
Get the point?
You probably just read the title and thought "hurr I'll show you login"
Don't be so impatient, he's trying to help :/.
Title: Re: Visual basic login program
Post by: youaintgotnopancakemix on September 21, 2011, 11:05:30 AM
Got what I was looking for. Lock this thread before venereal gets his panties in a bunch.
Title: Re: Visual basic login program
Post by: jimonions on September 22, 2011, 12:05:56 AM
Next time don't bother asking if you're going to be sore and not even say thank you.