SlideShare a Scribd company logo
1 of 13
PROYECTO DE VISUAL BASIC N° SISTEMA DE FACTURACIÓN Docente expositor: Lic. Jaime A. Flores Fuentes
 
 
 
Private Sub Form_Load() End Sub Form1.Show Text1.SetFocus
Private Sub Command1_Click() End Sub Dim clave As String clave = "soyer“ If Text1.Text = clave Then MsgBox ("Bienvenido al sistema") Form2.Show Form1.Hide Else MsgBox ("Error, vuelva a ingresar clave") Text1.Text = "" Text1.SetFocus End If
Private Sub Command1_Click() End Sub End
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Private Sub Command1_Click() End Sub Dim dias 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 = vbChecked Then cable = 20 If Check2.Value = vbChecked Then telefono = 20 If Check3.Value = vbChecked Then 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)
Private Sub Command1_Click() End Sub Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" Text5.Text = "" Text6.Text = "" Text7.Text = "" Text1.SetFocus
Private Sub Command1_Click() End Sub Form3.Show
Private Sub Command1_Click() End Sub Dim res As Integer res = MsgBox("Desea salir del sistema?", 4 + 32 + 256, "Salir") If res = 6 Then End Else Cancel = True End If
Private Sub Command1_Click() End Sub Form2.Show Form3.Hide

More Related Content

Viewers also liked

Viewers also liked (19)

Portal - Prof. Jorge : Coesão
Portal - Prof. Jorge : CoesãoPortal - Prof. Jorge : Coesão
Portal - Prof. Jorge : Coesão
 
ARABIAN NIGHT ARAB ÉJSZAKA
ARABIAN  NIGHT   ARAB ÉJSZAKAARABIAN  NIGHT   ARAB ÉJSZAKA
ARABIAN NIGHT ARAB ÉJSZAKA
 
Projeto de lei nº 7089
Projeto de lei nº 7089Projeto de lei nº 7089
Projeto de lei nº 7089
 
Webquest de chancauaña
Webquest  de  chancauañaWebquest  de  chancauaña
Webquest de chancauaña
 
Boletin 25 abiril 13
Boletin 25 abiril 13Boletin 25 abiril 13
Boletin 25 abiril 13
 
只能陪你一程
只能陪你一程只能陪你一程
只能陪你一程
 
Guia cmsb 15x21cm_email(2)
Guia cmsb 15x21cm_email(2)Guia cmsb 15x21cm_email(2)
Guia cmsb 15x21cm_email(2)
 
Creatividad
CreatividadCreatividad
Creatividad
 
Pr subs-2ºbi13
Pr subs-2ºbi13Pr subs-2ºbi13
Pr subs-2ºbi13
 
Foxfang Social Media Marketing
Foxfang Social Media MarketingFoxfang Social Media Marketing
Foxfang Social Media Marketing
 
SelenaRicksResume
SelenaRicksResume SelenaRicksResume
SelenaRicksResume
 
AULAS VIRTUALES
AULAS VIRTUALESAULAS VIRTUALES
AULAS VIRTUALES
 
Moviminto yami
Moviminto yamiMoviminto yami
Moviminto yami
 
Multimedia presentaciòn jp
Multimedia presentaciòn jpMultimedia presentaciòn jp
Multimedia presentaciòn jp
 
Seminario 9. chi cuadrado
Seminario 9. chi cuadradoSeminario 9. chi cuadrado
Seminario 9. chi cuadrado
 
E L E C C I O N E S2007
E L E C C I O N E S2007E L E C C I O N E S2007
E L E C C I O N E S2007
 
08 sistemas sensoriales
08   sistemas sensoriales08   sistemas sensoriales
08 sistemas sensoriales
 
Keek google play
Keek google playKeek google play
Keek google play
 
Israel na política exterios de Estados Unidos
Israel na política exterios de Estados UnidosIsrael na política exterios de Estados Unidos
Israel na política exterios de Estados Unidos
 

Similar to PROYECTO 5

Constants and Unformatted Input Output Functions.pptx
Constants and Unformatted Input Output Functions.pptxConstants and Unformatted Input Output Functions.pptx
Constants and Unformatted Input Output Functions.pptxDrJasmineBeulahG
 
Comunicação Bluetooth Entre Python e PyS60
Comunicação Bluetooth Entre Python e PyS60Comunicação Bluetooth Entre Python e PyS60
Comunicação Bluetooth Entre Python e PyS60Felipe Ronchi Brigido
 
Falcon初印象
Falcon初印象Falcon初印象
Falcon初印象勇浩 赖
 
2014 computer science_question_paper
2014 computer science_question_paper2014 computer science_question_paper
2014 computer science_question_papervandna123
 
C++ and OOPS Crash Course by ACM DBIT | Grejo Joby
C++ and OOPS Crash Course by ACM DBIT | Grejo JobyC++ and OOPS Crash Course by ACM DBIT | Grejo Joby
C++ and OOPS Crash Course by ACM DBIT | Grejo JobyGrejoJoby1
 
Dti2143 lab sheet 6
Dti2143 lab sheet 6Dti2143 lab sheet 6
Dti2143 lab sheet 6alish sha
 
Computer science-2010-cbse-question-paper
Computer science-2010-cbse-question-paperComputer science-2010-cbse-question-paper
Computer science-2010-cbse-question-paperDeepak Singh
 
C101-PracticeProblems.pdf
C101-PracticeProblems.pdfC101-PracticeProblems.pdf
C101-PracticeProblems.pdfT17Rockstar
 
Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10alish sha
 
Membuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaMembuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaYusman Kurniadi
 
54602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee0108310154602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee01083101premrings
 
Reservasi hotel
Reservasi hotelReservasi hotel
Reservasi hoteldian pw
 
Introduction to C++
Introduction to C++ Introduction to C++
Introduction to C++ Bharat Kalia
 

Similar to PROYECTO 5 (17)

Constants and Unformatted Input Output Functions.pptx
Constants and Unformatted Input Output Functions.pptxConstants and Unformatted Input Output Functions.pptx
Constants and Unformatted Input Output Functions.pptx
 
Comunicação Bluetooth Entre Python e PyS60
Comunicação Bluetooth Entre Python e PyS60Comunicação Bluetooth Entre Python e PyS60
Comunicação Bluetooth Entre Python e PyS60
 
VB net lab.pdf
VB net lab.pdfVB net lab.pdf
VB net lab.pdf
 
Falcon初印象
Falcon初印象Falcon初印象
Falcon初印象
 
Ict project pdf
Ict project pdfIct project pdf
Ict project pdf
 
2014 computer science_question_paper
2014 computer science_question_paper2014 computer science_question_paper
2014 computer science_question_paper
 
C++ and OOPS Crash Course by ACM DBIT | Grejo Joby
C++ and OOPS Crash Course by ACM DBIT | Grejo JobyC++ and OOPS Crash Course by ACM DBIT | Grejo Joby
C++ and OOPS Crash Course by ACM DBIT | Grejo Joby
 
Dti2143 lab sheet 6
Dti2143 lab sheet 6Dti2143 lab sheet 6
Dti2143 lab sheet 6
 
Computer science-2010-cbse-question-paper
Computer science-2010-cbse-question-paperComputer science-2010-cbse-question-paper
Computer science-2010-cbse-question-paper
 
Pointer
PointerPointer
Pointer
 
C101-PracticeProblems.pdf
C101-PracticeProblems.pdfC101-PracticeProblems.pdf
C101-PracticeProblems.pdf
 
Vb file
Vb fileVb file
Vb file
 
Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10
 
Membuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaMembuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhana
 
54602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee0108310154602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee01083101
 
Reservasi hotel
Reservasi hotelReservasi hotel
Reservasi hotel
 
Introduction to C++
Introduction to C++ Introduction to C++
Introduction to C++
 

More from PauLita Rioz

More from PauLita Rioz (6)

Proyecto final
Proyecto finalProyecto final
Proyecto final
 
Proyecto final
Proyecto finalProyecto final
Proyecto final
 
Marketing nuevasss
Marketing nuevasssMarketing nuevasss
Marketing nuevasss
 
MARKETING NUEVASS
MARKETING NUEVASSMARKETING NUEVASS
MARKETING NUEVASS
 
MARKETING NUEVAS1
MARKETING NUEVAS1MARKETING NUEVAS1
MARKETING NUEVAS1
 
MARKETING NUEVAS
MARKETING NUEVAS MARKETING NUEVAS
MARKETING NUEVAS
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 

PROYECTO 5

  • 1. PROYECTO DE VISUAL BASIC N° SISTEMA DE FACTURACIÓN Docente expositor: Lic. Jaime A. Flores Fuentes
  • 2.  
  • 3.  
  • 4.  
  • 5. Private Sub Form_Load() End Sub Form1.Show Text1.SetFocus
  • 6. Private Sub Command1_Click() End Sub Dim clave As String clave = "soyer“ If Text1.Text = clave Then MsgBox ("Bienvenido al sistema") Form2.Show Form1.Hide Else MsgBox ("Error, vuelva a ingresar clave") Text1.Text = "" Text1.SetFocus End If
  • 8.
  • 9. Private Sub Command1_Click() End Sub Dim dias 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 = vbChecked Then cable = 20 If Check2.Value = vbChecked Then telefono = 20 If Check3.Value = vbChecked Then 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)
  • 10. Private Sub Command1_Click() End Sub Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" Text5.Text = "" Text6.Text = "" Text7.Text = "" Text1.SetFocus
  • 11. Private Sub Command1_Click() End Sub Form3.Show
  • 12. Private Sub Command1_Click() End Sub Dim res As Integer res = MsgBox("Desea salir del sistema?", 4 + 32 + 256, "Salir") If res = 6 Then End Else Cancel = True End If
  • 13. Private Sub Command1_Click() End Sub Form2.Show Form3.Hide