SlideShare una empresa de Scribd logo
1 de 18
Proyecto 1
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
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
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
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
Proyecto 2
Private Sub Label1_Click() End Sub Private Sub List1_Click() Select Case List1.ListIndex Case 0: Image1.Picture = LoadPicture(Path + "D: Banderasrgentina.jpg ") Case 1: Image1.Picture = LoadPicture(Path + "D:4 Banderasolivia.jpg") Case 2: Image1.Picture = LoadPicture(Path + "D: Banderasrasil.jpg ") Case 3: Image1.Picture = LoadPicture(Path + "D: Banderashile.jpg ") Case 4: Image1.Picture = LoadPicture(Path + "D: Banderasolombia.jpg ") Case 5: Image1.Picture = LoadPicture(Path + "D: Banderascuador.jpg ") Case 6: Image1.Picture = LoadPicture(Path + "D: Banderaseru.jpg ") Case 7: Image1.Picture = LoadPicture(Path + "D: Banderasruguay.jpg ") Case 8: Image1.Picture = LoadPicture(Path + "D: Banderasenezuela.jpg ") Case 9: Image1.Picture = LoadPicture(Path + "D: Banderasuyana.jpg ") Case 10: Image1.Picture = LoadPicture(Path + "D: Banderasaraguay.jpg ") Case 11: Image1.Picture = LoadPicture(Path + "D: Banderasurinam.jpg ") Case 12: Image1.Picture = LoadPicture(Path + "D: Banderasuayana.jpg ") EndSelect End Sub
Proyecto 3
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
Proyecto 4
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
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
Private Sub Command1_Click() Form2.Show Form3.Hide End Sub

Más contenido relacionado

La actualidad más candente

Mickey Shorts, Disney
Mickey Shorts, DisneyMickey Shorts, Disney
Mickey Shorts, DisneyTammy Manis
 
Keyboard shortcuts
Keyboard shortcutsKeyboard shortcuts
Keyboard shortcutsAshish Yadav
 
Wtc Conspiration
Wtc ConspirationWtc Conspiration
Wtc ConspirationFaeez Zain
 
Cara cepat pakai keyboard
Cara cepat pakai keyboardCara cepat pakai keyboard
Cara cepat pakai keyboardSukron Firudin
 
More than 100 keyboard shortcuts In Computer
More than 100 keyboard shortcuts In Computer More than 100 keyboard shortcuts In Computer
More than 100 keyboard shortcuts In Computer TARUN VERMA
 
Keyboard shortcuts
Keyboard shortcutsKeyboard shortcuts
Keyboard shortcutsaseener
 
Computer shortcut keys
Computer shortcut keysComputer shortcut keys
Computer shortcut keysmuhammad ali
 
More than 100 keyboard shortcuts
More than 100 keyboard shortcutsMore than 100 keyboard shortcuts
More than 100 keyboard shortcutsRoslan Sulaiman
 
03 fade
 03 fade 03 fade
03 fadeWarawut
 
More than 100 keyboard shortcuts must read
More than 100 keyboard shortcuts must readMore than 100 keyboard shortcuts must read
More than 100 keyboard shortcuts must readRohani Jusoh
 
Some Short cut keys of Computer
Some Short cut keys of ComputerSome Short cut keys of Computer
Some Short cut keys of ComputerRamesh Pant
 

La actualidad más candente (19)

Computer shortcuts
Computer shortcutsComputer shortcuts
Computer shortcuts
 
Computer keyboard shortcuts
Computer keyboard shortcutsComputer keyboard shortcuts
Computer keyboard shortcuts
 
Mickey Shorts, Disney
Mickey Shorts, DisneyMickey Shorts, Disney
Mickey Shorts, Disney
 
Keyboard shortcuts
Keyboard shortcutsKeyboard shortcuts
Keyboard shortcuts
 
Wtc Conspiration
Wtc ConspirationWtc Conspiration
Wtc Conspiration
 
Cara cepat pakai keyboard
Cara cepat pakai keyboardCara cepat pakai keyboard
Cara cepat pakai keyboard
 
More than 100 keyboard shortcuts In Computer
More than 100 keyboard shortcuts In Computer More than 100 keyboard shortcuts In Computer
More than 100 keyboard shortcuts In Computer
 
Keyboard shortcuts
Keyboard shortcutsKeyboard shortcuts
Keyboard shortcuts
 
Shortcuts
ShortcutsShortcuts
Shortcuts
 
MS office shortcuts
MS  office shortcutsMS  office shortcuts
MS office shortcuts
 
Computer shortcut keys
Computer shortcut keysComputer shortcut keys
Computer shortcut keys
 
More than 100 keyboard shortcuts
More than 100 keyboard shortcutsMore than 100 keyboard shortcuts
More than 100 keyboard shortcuts
 
03 fade
 03 fade 03 fade
03 fade
 
Keyboard shorcuts
Keyboard shorcutsKeyboard shorcuts
Keyboard shorcuts
 
More than 100 keyboard shortcuts must read
More than 100 keyboard shortcuts must readMore than 100 keyboard shortcuts must read
More than 100 keyboard shortcuts must read
 
How to add header in microsoft word
How to add header in microsoft wordHow to add header in microsoft word
How to add header in microsoft word
 
Some Short cut keys of Computer
Some Short cut keys of ComputerSome Short cut keys of Computer
Some Short cut keys of Computer
 
Comenzi tastatura
Comenzi tastaturaComenzi tastatura
Comenzi tastatura
 
Microsoft
MicrosoftMicrosoft
Microsoft
 

Destacado

Media Theories Presentation
Media Theories PresentationMedia Theories Presentation
Media Theories PresentationNageena Attariya
 
Презентация клуба на i-MIX 2012
Презентация клуба на i-MIX 2012Презентация клуба на i-MIX 2012
Презентация клуба на i-MIX 2012SocialMediaClubCA
 
Inteligencias
InteligenciasInteligencias
Inteligenciaswmendieta
 
рекомендации по презентации
рекомендации по презентациирекомендации по презентации
рекомендации по презентацииMeritSirus
 
Ghosts of gone birds the brief
Ghosts of gone birds the briefGhosts of gone birds the brief
Ghosts of gone birds the briefghostsofgonebirds
 
Managing ONLY devices is BYOD Policy FAILURE
 Managing ONLY devices is BYOD Policy FAILURE  Managing ONLY devices is BYOD Policy FAILURE
Managing ONLY devices is BYOD Policy FAILURE Apperian
 
1. mathematical fundamentals
1. mathematical fundamentals1. mathematical fundamentals
1. mathematical fundamentalsRakesh Rocky
 
Merge&acquisition
Merge&acquisitionMerge&acquisition
Merge&acquisitionlukic83
 
презентация лазеров
презентация лазеровпрезентация лазеров
презентация лазеровAndreykireenkov
 
Molecular Dynamics Simulation of Microorganism Motion in Fluid Based on Granu...
Molecular Dynamics Simulation of Microorganism Motion in Fluid Based on Granu...Molecular Dynamics Simulation of Microorganism Motion in Fluid Based on Granu...
Molecular Dynamics Simulation of Microorganism Motion in Fluid Based on Granu...Sparisoma Viridi
 
digital signature for SMS security
digital signature for SMS securitydigital signature for SMS security
digital signature for SMS securityNilu Desai
 
[24]7 News April 2013
[24]7 News April 2013[24]7 News April 2013
[24]7 News April 2013Mel Dolera
 
Enterpreneurship in Peru
Enterpreneurship in PeruEnterpreneurship in Peru
Enterpreneurship in PeruJose Luis Tapia
 
Website doanh nghiep nang cao
Website doanh nghiep nang caoWebsite doanh nghiep nang cao
Website doanh nghiep nang caoSteven Thanh
 
Измерение аудитории Интернета в Казахстане
Измерение аудитории Интернета в КазахстанеИзмерение аудитории Интернета в Казахстане
Измерение аудитории Интернета в КазахстанеSocialMediaClubCA
 
David mahmood dallas business journal facetime profile
David mahmood   dallas business journal facetime profileDavid mahmood   dallas business journal facetime profile
David mahmood dallas business journal facetime profileBruce Condit
 
Proyecto Educacional de Libre Mercado en Loreto
Proyecto Educacional de Libre Mercado en LoretoProyecto Educacional de Libre Mercado en Loreto
Proyecto Educacional de Libre Mercado en LoretoJose Luis Tapia
 

Destacado (20)

Media Theories Presentation
Media Theories PresentationMedia Theories Presentation
Media Theories Presentation
 
Презентация клуба на i-MIX 2012
Презентация клуба на i-MIX 2012Презентация клуба на i-MIX 2012
Презентация клуба на i-MIX 2012
 
Inteligencias
InteligenciasInteligencias
Inteligencias
 
рекомендации по презентации
рекомендации по презентациирекомендации по презентации
рекомендации по презентации
 
Ghosts of gone birds the brief
Ghosts of gone birds the briefGhosts of gone birds the brief
Ghosts of gone birds the brief
 
Fresh ones tissues
Fresh ones tissuesFresh ones tissues
Fresh ones tissues
 
Managing ONLY devices is BYOD Policy FAILURE
 Managing ONLY devices is BYOD Policy FAILURE  Managing ONLY devices is BYOD Policy FAILURE
Managing ONLY devices is BYOD Policy FAILURE
 
Ordenado power point
Ordenado power pointOrdenado power point
Ordenado power point
 
1. mathematical fundamentals
1. mathematical fundamentals1. mathematical fundamentals
1. mathematical fundamentals
 
Merge&acquisition
Merge&acquisitionMerge&acquisition
Merge&acquisition
 
презентация лазеров
презентация лазеровпрезентация лазеров
презентация лазеров
 
Molecular Dynamics Simulation of Microorganism Motion in Fluid Based on Granu...
Molecular Dynamics Simulation of Microorganism Motion in Fluid Based on Granu...Molecular Dynamics Simulation of Microorganism Motion in Fluid Based on Granu...
Molecular Dynamics Simulation of Microorganism Motion in Fluid Based on Granu...
 
digital signature for SMS security
digital signature for SMS securitydigital signature for SMS security
digital signature for SMS security
 
[24]7 News April 2013
[24]7 News April 2013[24]7 News April 2013
[24]7 News April 2013
 
Enterpreneurship in Peru
Enterpreneurship in PeruEnterpreneurship in Peru
Enterpreneurship in Peru
 
Website doanh nghiep nang cao
Website doanh nghiep nang caoWebsite doanh nghiep nang cao
Website doanh nghiep nang cao
 
Durham College - SPP Canada
Durham College - SPP CanadaDurham College - SPP Canada
Durham College - SPP Canada
 
Измерение аудитории Интернета в Казахстане
Измерение аудитории Интернета в КазахстанеИзмерение аудитории Интернета в Казахстане
Измерение аудитории Интернета в Казахстане
 
David mahmood dallas business journal facetime profile
David mahmood   dallas business journal facetime profileDavid mahmood   dallas business journal facetime profile
David mahmood dallas business journal facetime profile
 
Proyecto Educacional de Libre Mercado en Loreto
Proyecto Educacional de Libre Mercado en LoretoProyecto Educacional de Libre Mercado en Loreto
Proyecto Educacional de Libre Mercado en Loreto
 

Similar a Trabajo de ept lissethe toro

19.Advanced Visual Basic Lab.pdf
19.Advanced Visual Basic Lab.pdf19.Advanced Visual Basic Lab.pdf
19.Advanced Visual Basic Lab.pdfvirox10x
 
Vbreport program
Vbreport programVbreport program
Vbreport programdhi her
 
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Yeardezyneecole
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearDezyneecole
 
Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearDezyneecole
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearDezyneecole
 
Sudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third YearSudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third Yeardezyneecole
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearDezyneecole
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearDezyneecole
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Yeardezyneecole
 
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearDezyneecole
 
Kirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third YearKirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third Yeardezyneecole
 
Makalah Pemrograman Visual “Aplikasi Travel”
Makalah Pemrograman Visual “Aplikasi Travel”Makalah Pemrograman Visual “Aplikasi Travel”
Makalah Pemrograman Visual “Aplikasi Travel”SMK MUhammadiyah Singkut
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Yeardezyneecole
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Yeardezyneecole
 
Proyecto "Papelería"
Proyecto "Papelería"Proyecto "Papelería"
Proyecto "Papelería"Ayhli123
 

Similar a Trabajo de ept lissethe toro (20)

Vbreport
VbreportVbreport
Vbreport
 
19.Advanced Visual Basic Lab.pdf
19.Advanced Visual Basic Lab.pdf19.Advanced Visual Basic Lab.pdf
19.Advanced Visual Basic Lab.pdf
 
Vbreport program
Vbreport programVbreport program
Vbreport program
 
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third Year
 
Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third Year
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third Year
 
Sudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third YearSudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third Year
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Year
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
 
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third Year
 
Kirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third YearKirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third Year
 
Vb file
Vb fileVb file
Vb file
 
Ict project pdf
Ict project pdfIct project pdf
Ict project pdf
 
Makalah Pemrograman Visual “Aplikasi Travel”
Makalah Pemrograman Visual “Aplikasi Travel”Makalah Pemrograman Visual “Aplikasi Travel”
Makalah Pemrograman Visual “Aplikasi Travel”
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Richtextbox
RichtextboxRichtextbox
Richtextbox
 
Proyecto "Papelería"
Proyecto "Papelería"Proyecto "Papelería"
Proyecto "Papelería"
 

Trabajo de ept lissethe toro

  • 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
  • 10. Private Sub Label1_Click() End Sub Private Sub List1_Click() Select Case List1.ListIndex Case 0: Image1.Picture = LoadPicture(Path + "D: Banderasrgentina.jpg ") Case 1: Image1.Picture = LoadPicture(Path + "D:4 Banderasolivia.jpg") Case 2: Image1.Picture = LoadPicture(Path + "D: Banderasrasil.jpg ") Case 3: Image1.Picture = LoadPicture(Path + "D: Banderashile.jpg ") Case 4: Image1.Picture = LoadPicture(Path + "D: Banderasolombia.jpg ") Case 5: Image1.Picture = LoadPicture(Path + "D: Banderascuador.jpg ") Case 6: Image1.Picture = LoadPicture(Path + "D: Banderaseru.jpg ") Case 7: Image1.Picture = LoadPicture(Path + "D: Banderasruguay.jpg ") Case 8: Image1.Picture = LoadPicture(Path + "D: Banderasenezuela.jpg ") Case 9: Image1.Picture = LoadPicture(Path + "D: Banderasuyana.jpg ") Case 10: Image1.Picture = LoadPicture(Path + "D: Banderasaraguay.jpg ") Case 11: Image1.Picture = LoadPicture(Path + "D: Banderasurinam.jpg ") Case 12: Image1.Picture = LoadPicture(Path + "D: Banderasuayana.jpg ") EndSelect End Sub
  • 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
  • 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