-Tutorial- Quiz mit Visual Basic programmieren

Loading...

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

Uploaded by on Oct 18, 2009

Tutorial für das Grundgerüst eines Quiz. Beliebig erweiterbar...

Code:

Public Class Form1 Dim antworten As Byte Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "quiz" Then antworten = antworten + 1 If TextBox1.Text = "quiz" Then pic1.Visible = True If TextBox2.Text = "vb" Then antworten = antworten + 1 If TextBox2.Text = "vb" Then pic2.Visible = True punkte.Text = "Du hast " & antworten & " von 2 Fragen richtig beantwortet" prozent.Text = "Das sind " & antworten / 2 * 100 & " Prozent" End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click antworten = 0 punkte.Text = "" prozent.Text = "" TextBox1.Text = "" TextBox2.Text = "" pic1.Visible = False pic2.Visible = False End Sub
End Class

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • @93Simpsons ok das mit dem code in der beschreibung geb ich dir recht aber erklärn kann er es trotzdem weil so lernt man dann auch was

    und ob das nun zu einfach ist oder nicht um darüber ein vid zu machen sei dahingestellt.

    als ich angefangen habe wäre ich froh gewesen solche videos zu finden :D

  • @93Simpsons es geht doch nicht darum ob es einfach ist oder nicht es geht darum, das er erklärt bzw zeigt ( was ich schade finde ) wie ein quiz vom prinzip her aufgebaut ist

  • @KONTRATION In der Beschreibung

  • wo ist der code

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