Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Dim getallen As Integer() = {3, 6, 5, 9, 1}
Array.Sort(getallen)
For Each i As Integer In getallen
ListBox1.Items.Add(i)
Next
Dim getallen As Integer() = {3, 6, 5, 9, 1}
Dim getallen As String() = {TextBox1.Text, TextBox2.Text, TextBox3.Text, TextBox4.Text, TextBox5.Text, TextBox6.Text, TextBox7.Text, TextBox8.Text, TextBox9.Text, TextBox10.Text}
Array.Sort(getallen)
For Each i As String In getallen
ListBox1.Items.Add(i)
Next
Dim getallen(Panel1.Controls.Count) As Integer
Dim teller As Integer = 0
For Each Txtbox As TextBox In Panel1.Controls
If Not Txtbox.Text = Nothing Then
If IsNumeric(Txtbox.Text) Then
getallen(teller) = Txtbox.Text
teller += 1
End If
End If
Next
Dim getallen(Panel1.Controls.Count) As Integer
Dim teller As Integer = 0
For Each Txtbox As TextBox In Panel1.Controls
If Not Txtbox.Text = Nothing Then
If IsNumeric(Txtbox.Text) Then
getallen(teller) = Txtbox.Text
teller += 1
End If
End If
Next
ReDim Preserve getallen(teller - 1)
If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" Or TextBox5.Text = "" Or TextBox5.Text = "" Or TextBox6.Text = "" Or TextBox7.Text = "" Or TextBox8.Text = "" Or TextBox9.Text = "" Or TextBox10.Text = "" Then
MsgBox("Een of meerdere velden zijn leeg. Voer a.u.b. cijfers (tussen de 0 en 10) in.")
Else
If Not IsNumeric(TextBox1.Text) Or Not IsNumeric(TextBox2.Text) Or Not IsNumeric(TextBox3.Text) Or Not IsNumeric(TextBox4.Text) Or Not IsNumeric(TextBox5.Text) Or Not IsNumeric(TextBox6.Text) Or Not IsNumeric(TextBox7.Text) Or Not IsNumeric(TextBox8.Text) Or Not IsNumeric(TextBox9.Text) Or Not IsNumeric(TextBox10.Text) Then
MsgBox("Alleen getallen kunnen worden gesorteerd. Voer a.u.b. alleen getallen in.", vbInformation)
Else
Dim getallen As String() = {TextBox1.Text, TextBox2.Text, TextBox3.Text, TextBox4.Text, TextBox5.Text, TextBox6.Text, TextBox7.Text, TextBox8.Text, TextBox9.Text, TextBox10.Text}
Array.Sort(getallen)
For Each i As String In getallen
ListBox1.Items.Add(i)
Next
Button1.Enabled = False
Button2.Enabled = True
End If
End If
CInt(TextBox1.Text) > -1 And CInt(TextBox1.Text) < 11
If CDec(TextBox1.Text) > -0.000000001 And CInt(TextBox1.Text) < 10.00000000001 Then
...
If TextBox1.Text = ("10") Then
Dim tien As Integer = 10
ListBox1.Items.Remove(tien)
ListBox1.Items.Add(tien)
If TextBox1.Text = ("10") Or TextBox2.Text = ("10") Or TextBox3.Text = ("10") Then
...
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.