Login mit Registrierung Teil2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,230
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 7, 2010

Dies ist Teil 2 Meines Tutorials !

Code:
Try Dim sa As String Dim sb As String Dim a As New System.IO.StreamReader("C:\Gebug\" + TextBox1.Text + "\Username.txt") sa = a.ReadLine() a.Close() Dim b As New System.IO.StreamReader("C:\Gebug\" + TextBox1.Text + "\Password.txt") sb = b.ReadLine() b.Close() If TextBox1.Text = sa.ToString Then 'Do this If TextBox2.Text = sb.ToString Then 'do this MsgBox("Herzlich Willkommen!" + sa.ToString) Me.Hide() Form2.Show() Else 'give an error MsgBox("Error! Passwort ist falsch.") End If Else 'If its not equal give an error MsgBox("Error! Der Account existiert nicht.") End If Catch ex As Exception MsgBox("Error" + ex.Message) End Try

Viel Spaß damit =)

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • Du hast einen fehler in Dim b As New System.IO.StreamWriter("C:\Log­in\" + TextBox1.Text + "\Password.txt") der fehler ist TextBox1 ( da gehört TextBox2 )

    mfg WeeD

  • @JNTVFilm oha bist du cool

  • @3Superstarx Bevor du motzt lern erstmal Deutsch!

  • bei mir kann das Catch nicht nicht ausgefürt werden . sonst pass alles

  • kann mir bitte i-jemand helfen

    bei dem letzten else und end if sagte r mir das das n fehler sei aber ich habs genau so wie im video gemacht whats the problem???

  • bei mir ist das zweite else bei

    Else 'give an error MsgBox("Error! Passwort ist falsch.") End If Else(<---beei diesen else ein fehler ) 'If its not equal give an error MsgBox("Error! Der Account existiert nicht.") End If Catch ex As Exception MsgBox("Error" + ex.Message) End Try

  • kann man das auch mit einem ftp server machen?

    das der computer da die sachen rein haut und sucht?

  • nix geklappt blossfehler

  • kast du mir den code bitte in einer txt datei schicken

  • ohh wie dumm gerade fertig geworden und nebenbei noch andere programme offen gehabt da drücke ich auf verwerfen und weg war es !! :(

    jetzt nochmall neu anfangen *weinen*

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more