Visual Basic: Forms, Timers and Array Examples
Classified in Technology
Written on in
English with a size of 2.54 KB
Visual Basic Forms and Console Code Examples
The following corrected Visual Basic code preserves the original content while fixing spelling, capitalization, and minor structural issues for clarity.
If RadioButton1.Checked Then
MsgBox("Eligió viajar por " & RadioButton1.Text)
End If
Private Sub Form1_Load(...)
Combocargo.Items.Add("gerente")
End Sub
Private Sub Combocargo_SelectedIndexChanged(...)
Select Case Combocargo.SelectedIndex
Case 0
Me.TextBox1.Text = 6200
End Select
End Sub
Private Sub Button1_Click(...)
Combocargo.Items.Add(TextBox1.Text)
End Sub
Private Sub Button2_Click(...)
Combocargo.Items.Remove(Combocargo.SelectedItem)
End Sub
Module Module1
Sub Main()
Dim v(4) As... Continue reading "Visual Basic: Forms, Timers and Array Examples" »