POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
Codigos De Visual Basic
1. Visual Basic 6.0
1. Concepto:
Visual Basic es una aplicación y un lenguaje de programación desarrollados por
Alan Cooper para Microsoft
2. Comandos:
PictureBox
Label: Etiqueta
Frame: Marco
CommandButton: Botón de comando
OptionButton: Botón de opción
Textbox
Programar un PictureBox en visual Basic
1. Option Explicit
2.
3. Private Sub Command1_Click()
4. ' -- Le indicamos una ruta o path vacío para eliminar la imagen del PictureBox
5. With Picture1
6. Picture = LoadPicture("")
7. End With
8. End Sub
Programar Un Label EN Visual Basic
Visual Basic 6.0
Private Sub MakeTransparent()
Label1.BackStyle = vbTransparent
End Sub
Programar Un Frame En Visual Basic
Private Sub Command1_Click()
' -- Cambiar el caption
2. Frame1.Caption = "Texto del Frame"
End Sub
Programar Un CommandButton
Private Sub Command1_Click()
End Sub
Programar UN OptionButton
Visual Basic 6.0
If Option1.Value = True Then
Option2.Value = True
Else
Option1.Value = True
End If
Programar Un TextBox
' Visual Basic 6.0
Private Sub Form_Load ()
Text1.Text = "HolaMundo"
End Sub