Trabajo de ept lissethe toro
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Trabajo de ept lissethe toro

on

  • 2,157 views

 

Statistics

Views

Total Views
2,157
Views on SlideShare
762
Embed Views
1,395

Actions

Likes
1
Downloads
55
Comments
0

12 Embeds 1,395

http://plan-lector-lecturas.blogspot.com 599
http://plan-lector-lecturas.blogspot.com 599
http://plan-lector-lecturas.blogspot.mx 143
http://plan-lector-lecturas.blogspot.com.es 29
http://plan-lector-lecturas.blogspot.com.ar 15
http://webcache.googleusercontent.com 2
http://plan-lector-lecturas.blogspot.it 2
http://plan-lector-lecturas.blogspot.co.at 2
http://www.google.com 1
http://plan-lector-lecturas.blogspot.co.uk 1
http://plan-lector-lecturas.blogspot.fr 1
http://plan-lector-lecturas.blogspot.com.br 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Trabajo de ept lissethe toro Presentation Transcript

  • 1. Proyecto 1
  • 2. Private Sub Command1_Click()
    Form1.Hide
    Form2.Show
    End Sub
    Private Sub Command2_Click()
    Form1.Hide
    Form3.Show
    End Sub
    Private Sub Command3_Click()
    Form1.Hide
    Form4.Show
    End Sub
    Private Sub Command4_Click()
    End Sub
    Private Sub Label1_Click()
    End Sub
  • 3.
  • 4. Private Sub Command1_Click()
    Form2.Hide
    Form1.Show
    End Sub
    Private Sub Command2_Click()
    Form2.Hide
    Form3.Show
    End Sub
    Private Sub Command3_Click()
    Form2.Hide
    Form4.Show
    End Sub
  • 5.
  • 6. Private Sub Command1_Click()
    Form3.Hide
    Form1.Show
    End Sub
    Private Sub Command2_Click()
    Form3.Hide
    Form2.Show
    End Sub
    Private Sub Command3_Click()
    Form3.Hide
    Form4.Show
    End Sub
  • 7.
  • 8. Private Sub Command1_Click()
    Form4.Hide
    Form1.Show
    End Sub
    Private Sub Command2_Click()
    Form4.Hide
    Form2.Show
    End Sub
    Private Sub Command3_Click()
    Form4.Hide
    Form3.Show
    End Sub
    Private Sub Command4_Click()
    End Sub
  • 9. Proyecto 2
  • 10. Private Sub Label1_Click()
    End Sub
    Private Sub List1_Click()
    Select Case List1.ListIndex
    Case 0:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasargentina.jpg ")
    Case 1:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasbolivia.jpg")
    Case 2:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasbrasil.jpg ")
    Case 3:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderaschile.jpg ")
    Case 4:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderascolombia.jpg ")
    Case 5:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasecuador.jpg ")
    Case 6:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasperu.jpg ")
    Case 7:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasuruguay.jpg ")
    Case 8:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasvenezuela.jpg ")
    Case 9:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasguyana.jpg ")
    Case 10:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasparaguay.jpg ")
    Case 11:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderassurinam.jpg ")
    Case 12:
    Image1.Picture = LoadPicture(Path + "D:4 BBanderasguayana.jpg ")
    EndSelect
    End Sub
  • 11. Proyecto 3
  • 12. Private Sub Combo1_Change()
    Text1.Text = Combo1.Text
    End Sub
    Private Sub Combo1_Click()
    If Combo1.ListIndex <> -1 Then
    If Combo1.Text <> "Ninguno" Then
    Text1.Text = Combo1.List(Combo1.ListIndex)
    Else
    Text1.Text = ""
    EndIf
    EndIf
    End Sub
    Private Sub Command1_Click()
    Dim nuevo As String
    nuevo = InputBox("Ingrese un nuevo elemento", "Nuevo elemento")
    IfLen(Trim(nuevo)) > 0 Then
    Combo1.AddItem nuevo
    EndIf
    End Sub
    Private Sub Command2_Click()
    If Combo1.ListIndex <> -1 Then
    Combo1.RemoveItem Combo1.ListIndex
    Text1.Text = ""
    EndIf
    End Sub
    Private Sub Command3_Click()
    Combo1.Clear
    End Sub
    Private Sub Command4_Click()
    End
    End Sub
  • 13. Proyecto 4
  • 14. Private Sub Command1_Click()
    Dim clave As String
    pituficodigo = "pipiripipirinay"
    If Text1.Text = pituficodigoThen
    MsgBox ("BienvenidO al sistema")
    Form2.Show
    Form1.Hide
    Else
    MsgBox ("Error,Estabas cerca!!!!,VUELVE A INTENTARLO")
    Text1.Text = ""
    Text1.SetFocus
    EndIf
    End Sub
    Private Sub Command2_Click()
    End
    End Sub
    Private Sub Form_Load()
    Form1.Show
    Text1.SetFocus
    End Sub
  • 15.
  • 16. Private Sub Command1_Click()
    Dimdias As Integer, costo As Integer, cable As Integer, telefono As Integer, bar As Integer, hospedaje As Integer, servicio As Integer, total As Integer, igv As Integer, netos As Integer
    dias = Val(Text2.Text)
    If Option1.Value = True Then costo = 50
    If Option2.Value = True Then costo = 70
    hospedaje = costo * dias
    Text3.Text = Str(hospedaje)
    If Check1.Value = vbCheckedThen cable = 20
    If Check2.Value = vbCheckedThentelefono = 20
    If Check3.Value = vbCheckedThen bar = 20
    servicio = cable + telefono + bar
    Text4.Text = Str(servicio)
    total = hospedaje + servicio
    Text5.Text = Str(total)
    igv = 0.18 * total
    Text6.Text = Str(igv)
    neto = total + igv
    Text7.Text = Str(neto)
    End Sub
    Private Sub Command2_Click()
    Text1.Text = ""
    Text2.Text = ""
    Text3.Text = ""
    Text4.Text = ""
    Text5.Text = ""
    Text6.Text = ""
    Text7.Text = ""
    Text1.SetFocus
    End Sub
    Private Sub Command3_Click()
    Form3.Show
    End Sub
    Private Sub Command4_Click()
    Dim res As Integer
    res = MsgBox("desea salir del sistema?", 4 + 32 + 256, "salir")
    If res = 6 Then
    End
    Else
    Cancel = True
    EndIf
    End Sub
  • 17.
  • 18. Private Sub Command1_Click()
    Form2.Show
    Form3.Hide
    End Sub