SlideShare a Scribd company logo
1 of 17
VERSION 5.00
Begin VB.Form Form1
Caption = "Poliza"
ClientHeight = 8325
ClientLeft = 60
ClientTop = 345
ClientWidth = 9105
LinkTopic = "Form1"
ScaleHeight = 8325
ScaleWidth = 9105
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command_limpiar
Caption = "Limpiar"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 7200
TabIndex = 33
Top = 3000
Width = 1575
End
Begin VB.CommandButton Command_salir
Caption = "Salir"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 7200
TabIndex = 32
Top = 3480
Width = 1575
End
Begin VB.CommandButton Command_calcular
Caption = "Calcular"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 7200
TabIndex = 25
Top = 2520
Width = 1575
End
Begin VB.TextBox Text_edad
Height = 285
Left = 2520
TabIndex = 24
Top = 2280
Width = 1935
End
Begin VB.Frame Frame3
Caption = "Resultados:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 1680
TabIndex = 12
Top = 6480
Width = 5175
Begin VB.TextBox Text_valor_prima
Height = 285
Left = 1920
TabIndex = 22
Top = 240
Width = 1935
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Valor de la prima:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 13
Top = 360
Width = 1500
End
End
Begin VB.Frame Frame2
Caption = "Datos del vehiculo:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2535
Left = 1680
TabIndex = 6
Top = 3720
Width = 5175
Begin VB.TextBox Text_poliza
Height = 285
Left = 960
TabIndex = 35
Top = 2040
Width = 1935
End
Begin VB.TextBox Text_valor_vehiculo
Height = 285
Left = 1920
TabIndex = 21
Top = 1680
Width = 1935
End
Begin VB.TextBox Text_año_vehiculo
Height = 285
Left = 1920
TabIndex = 20
Top = 1320
Width = 1935
End
Begin VB.TextBox Text_color
Height = 285
Left = 960
TabIndex = 19
Top = 960
Width = 1935
End
Begin VB.TextBox Text_modelo
Height = 285
Left = 1080
TabIndex = 18
Top = 600
Width = 1935
End
Begin VB.TextBox Text_placa
Height = 285
Left = 960
TabIndex = 17
Top = 240
Width = 1935
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "Poliza:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 34
Top = 2040
Width = 585
End
Begin VB.Label Label15
AutoSize = -1 'True
Caption = "Placa:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 11
Top = 360
Width = 555
End
Begin VB.Label Label14
AutoSize = -1 'True
Caption = "Año del vehiculo:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 10
Top = 1440
Width = 1500
End
Begin VB.Label Label13
AutoSize = -1 'True
Caption = "Modelo:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 9
Top = 720
Width = 690
End
Begin VB.Label Label12
AutoSize = -1 'True
Caption = "Color:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 8
Top = 1080
Width = 510
End
Begin VB.Label Label11
AutoSize = -1 'True
Caption = "Valor del vehiculo:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 7
Top = 1800
Width = 1605
End
End
Begin VB.Frame Frame1
Caption = "Datos del propietario del vehiculo:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3135
Left = 1680
TabIndex = 0
Top = 360
Width = 5175
Begin VB.Frame Frame5
Caption = "Estado civil:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 240
TabIndex = 29
Top = 2280
Width = 3135
Begin VB.OptionButton Option_soltero
Caption = "Soltero"
Height = 255
Left = 720
TabIndex = 31
Top = 240
Width = 855
End
Begin VB.OptionButton Option_casado
Caption = "Casado"
Height = 255
Left = 1920
TabIndex = 30
Top = 240
Width = 855
End
End
Begin VB.Frame Frame4
Caption = "Sexo:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 240
TabIndex = 26
Top = 960
Width = 3135
Begin VB.OptionButton Option2_femenino
Caption = "Femenino"
Height = 255
Left = 1800
TabIndex = 28
Top = 240
Width = 1095
End
Begin VB.OptionButton Option1_masculino
Caption = "Masculino"
Height = 255
Left = 600
TabIndex = 27
Top = 240
Width = 1095
End
End
Begin VB.TextBox Text_nacimiento
Height = 285
Left = 2160
TabIndex = 16
Top = 1560
Width = 1935
End
Begin VB.TextBox Text_cedula
Height = 285
Left = 1080
TabIndex = 15
Top = 600
Width = 1935
End
Begin VB.TextBox Text_nombre
Height = 285
Left = 1080
TabIndex = 14
Top = 240
Width = 1935
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "Edad:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 23
Top = 1920
Width = 510
End
Begin VB.Label Label10
AutoSize = -1 'True
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 5
Top = 2280
Width = 75
End
Begin VB.Label Label9
AutoSize = -1 'True
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 4
Top = 1080
Width = 75
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "Cedula:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 3
Top = 720
Width = 660
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "Fecha de nacimiento:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 2
Top = 1680
Width = 1845
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "Nombre:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 360
TabIndex = 1
Top = 360
Width = 720
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command_calcular_Click()
On Error GoTo ERROR:
Dim Recarga1 As Double
Dim Descuento As Double
Dim Cobrar1 As Double
Dim Cobrar2 As Double
If Option2_femenino.Value = True And Option_soltero.Value = True And Text_edad <
30 And Text_año_vehiculo > 10 Then
Text_valor_prima = Text_poliza
Else
If Option2_femenino.Value = True And Option_soltero.Value = True And Text_edad <
30 And Text_año_vehiculo < 10 Then
Text_valor_prima = Text_poliza
Else
If Option2_femenino.Value = True And Option_soltero.Value = True And Text_edad >
30 And Text_año_vehiculo < 10 Then
Text_valor_prima = Text_poliza
Else
If Option2_femenino.Value = True And Option_soltero.Value = True And Text_edad >
30 And Text_año_vehiculo < 10 Then
Text_valor_prima = Text_poliza
Else
If Option2_femenino.Value = True And Option_casado.Value = True And Text_edad >
30 And Text_año_vehiculo > 10 Then
Descuento = Text_poliza - Text_poliza * 2 / 100
Cobrar1 = Text_valor_vehiculo - Text_valor_vehiculo * 15 / 100
Text_valor_prima = Str(Descuento + Cobrar1)
Else
If Option2_femenino.Value = True And Option_casado.Value = True And Text_edad >
30 And Text_año_vehiculo < 10 Then
Descuento = Text_poliza - Text_poliza * 2 / 100
Cobrar2 = Text_valor_vehiculo - Text_valor_vehiculo * 20 / 100
Text_valor_prima = Str(Descuento + Cobrar2)
Else
If Option1_masculino.Value = True And Option_casado.Value = True And Text_edad <
18 And Text_año_vehiculo > 10 Then
Text_valor_prima = Text_poliza
Else
If Option1_masculino.Value = True And Option_casado.Value = True And Text_edad <
18 And Text_año_vehiculo < 10 Then
Text_valor_prima = Text_poliza
Else
If Option1_masculino.Value = True And Option_casado.Value = True And Text_edad >
25 And Text_año_vehiculo > 10 Then
Text_valor_prima = Text_poliza
Else
If Option1_masculino.Value = True And Option_casado.Value = True And Text_edad >
25 And Text_año_vehiculo < 10 Then
Text_valor_prima = Text_poliza
Else
If Option1_masculino.Value = True And Option_soltero.Value = True And Text_edad <
18 And Text_año_vehiculo > 10 Then
Text_valor_prima = Text_poliza
Else
If Option1_masculino.Value = True And Option_soltero.Value = True And Text_edad <
18 And Text_año_vehiculo < 10 Then
Text_valor_prima = Text_poliza
Else
If Option1_masculino.Value = True And Option_soltero.Value = True And Text_edad >
25 And Text_año_vehiculo > 10 Then
Text_valor_prima = Text_poliza
Else
If Option1_masculino.Value = True And Option_soltero.Value = True And Text_edad >
25 And Text_año_vehiculo < 10 Then
Text_valor_prima = Text_poliza
Else
If Option1_masculino.Value = True And Text_edad > 18 And Text_edad < 25 And
Text_año_vehiculo > 10 Then
Recarga1 = Text_poliza + Text_poliza * 2 / 100
Cobrar1 = Text_valor_vehiculo - Text_valor_vehiculo * 15 / 100
Text_valor_prima = Str(Recarga1 + Cobrar1)
Else
If Option1_masculino.Value = True And Text_edad > 18 And Text_edad < 25 And
Text_año_vehiculo < 10 Then
Recarga1 = Text_poliza + Text_poliza * 2 / 100
Cobrar2 = Text_valor_vehiculo - Text_valor_vehiculo * 20 / 100
Text_valor_prima = Str(Recarga1 + Cobrar2)
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
On Error GoTo ERROR:
SALIR:
Exit Sub
ERROR:
MsgBox ("Faltan campos por llenar")
Resume SALIR:
End Sub
Private Sub Command_limpiar_Click()
Text_nombre = “”
Text_cedula = “”
Text_nacimiento = “”
Text_edad = “”
Text_placa = “”
Text_modelo = “”
Text_color = “”
Text_año_vehiculo = “”
Text_valor_vehiculo = “”
Text_poliza = “”
Text_valor_prima = “”
Option1_masculino = “”
Option2_femenino = “”
Option_soltero = “”
Option_casado = “”
End Sub
Private Sub Command_salir_Click()
End
End Sub

More Related Content

Viewers also liked

Gestión de Clientes - Como desarrollar una acción Venta Cruzada Sector Seguro...
Gestión de Clientes - Como desarrollar una acción Venta Cruzada Sector Seguro...Gestión de Clientes - Como desarrollar una acción Venta Cruzada Sector Seguro...
Gestión de Clientes - Como desarrollar una acción Venta Cruzada Sector Seguro...RAFAEL ALGUACIL ROLDAN
 
FORMACIÓN: PLAN DE NEGOCIO PARA EL MEDIADOR DE SEGUROS
FORMACIÓN: PLAN DE NEGOCIO PARA EL MEDIADOR DE SEGUROSFORMACIÓN: PLAN DE NEGOCIO PARA EL MEDIADOR DE SEGUROS
FORMACIÓN: PLAN DE NEGOCIO PARA EL MEDIADOR DE SEGUROSOlga De Vega Pérez
 
Informe de riesgos polizas de seguros
Informe de riesgos polizas de segurosInforme de riesgos polizas de seguros
Informe de riesgos polizas de segurosFiorella Sifuentes
 
Eu Me Rendo - Renascer Praise
Eu Me Rendo - Renascer PraiseEu Me Rendo - Renascer Praise
Eu Me Rendo - Renascer PraiseKonker Labs
 

Viewers also liked (6)

Gestión de Clientes - Como desarrollar una acción Venta Cruzada Sector Seguro...
Gestión de Clientes - Como desarrollar una acción Venta Cruzada Sector Seguro...Gestión de Clientes - Como desarrollar una acción Venta Cruzada Sector Seguro...
Gestión de Clientes - Como desarrollar una acción Venta Cruzada Sector Seguro...
 
FORMACIÓN: PLAN DE NEGOCIO PARA EL MEDIADOR DE SEGUROS
FORMACIÓN: PLAN DE NEGOCIO PARA EL MEDIADOR DE SEGUROSFORMACIÓN: PLAN DE NEGOCIO PARA EL MEDIADOR DE SEGUROS
FORMACIÓN: PLAN DE NEGOCIO PARA EL MEDIADOR DE SEGUROS
 
Informe de riesgos polizas de seguros
Informe de riesgos polizas de segurosInforme de riesgos polizas de seguros
Informe de riesgos polizas de seguros
 
Eu me rendo
Eu me rendoEu me rendo
Eu me rendo
 
Eu me rendo
Eu me rendoEu me rendo
Eu me rendo
 
Eu Me Rendo - Renascer Praise
Eu Me Rendo - Renascer PraiseEu Me Rendo - Renascer Praise
Eu Me Rendo - Renascer Praise
 

Similar to Poliza de vehiculo

Investigación Ensambladores y Decompiladores
Investigación Ensambladores y DecompiladoresInvestigación Ensambladores y Decompiladores
Investigación Ensambladores y DecompiladoresAlexa Chisaguano
 
Instalacion Descompiladores y Ejemplos
Instalacion Descompiladores y EjemplosInstalacion Descompiladores y Ejemplos
Instalacion Descompiladores y EjemplosAlexander Campues
 
Decompiladores
DecompiladoresDecompiladores
Decompiladoresreivax2091
 
Decompiladores
DecompiladoresDecompiladores
Decompiladoresreivax2091
 
Ensambladores y decompiladores (27 de abril 2016)
Ensambladores y decompiladores (27 de abril 2016)Ensambladores y decompiladores (27 de abril 2016)
Ensambladores y decompiladores (27 de abril 2016)pilar menacho
 
Text Editor By Harsh Mathur.
Text Editor By Harsh Mathur.Text Editor By Harsh Mathur.
Text Editor By Harsh Mathur.Harsh Mathur
 

Similar to Poliza de vehiculo (12)

DECOMPILADORES
DECOMPILADORESDECOMPILADORES
DECOMPILADORES
 
Investigación Ensambladores y Decompiladores
Investigación Ensambladores y DecompiladoresInvestigación Ensambladores y Decompiladores
Investigación Ensambladores y Decompiladores
 
Compiladores
CompiladoresCompiladores
Compiladores
 
Instalacion Descompiladores y Ejemplos
Instalacion Descompiladores y EjemplosInstalacion Descompiladores y Ejemplos
Instalacion Descompiladores y Ejemplos
 
Decompiladores
DecompiladoresDecompiladores
Decompiladores
 
Decompiladores
DecompiladoresDecompiladores
Decompiladores
 
Decompiladores
DecompiladoresDecompiladores
Decompiladores
 
Ensambladores y decompiladores (27 de abril 2016)
Ensambladores y decompiladores (27 de abril 2016)Ensambladores y decompiladores (27 de abril 2016)
Ensambladores y decompiladores (27 de abril 2016)
 
Instalacion decompiladores
Instalacion decompiladoresInstalacion decompiladores
Instalacion decompiladores
 
Vb decompilador
Vb decompiladorVb decompilador
Vb decompilador
 
Text Editor By Harsh Mathur.
Text Editor By Harsh Mathur.Text Editor By Harsh Mathur.
Text Editor By Harsh Mathur.
 
Decompilador
DecompiladorDecompilador
Decompilador
 

Recently uploaded

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
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
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
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
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 

Poliza de vehiculo

  • 1.
  • 2. VERSION 5.00 Begin VB.Form Form1 Caption = "Poliza" ClientHeight = 8325 ClientLeft = 60 ClientTop = 345 ClientWidth = 9105 LinkTopic = "Form1" ScaleHeight = 8325 ScaleWidth = 9105 StartUpPosition = 3 'Windows Default Begin VB.CommandButton Command_limpiar Caption = "Limpiar" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 7200 TabIndex = 33 Top = 3000 Width = 1575 End Begin VB.CommandButton Command_salir Caption = "Salir" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 7200 TabIndex = 32
  • 3. Top = 3480 Width = 1575 End Begin VB.CommandButton Command_calcular Caption = "Calcular" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 7200 TabIndex = 25 Top = 2520 Width = 1575 End Begin VB.TextBox Text_edad Height = 285 Left = 2520 TabIndex = 24 Top = 2280 Width = 1935 End Begin VB.Frame Frame3 Caption = "Resultados:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 855 Left = 1680 TabIndex = 12 Top = 6480 Width = 5175 Begin VB.TextBox Text_valor_prima
  • 4. Height = 285 Left = 1920 TabIndex = 22 Top = 240 Width = 1935 End Begin VB.Label Label1 AutoSize = -1 'True Caption = "Valor de la prima:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 13 Top = 360 Width = 1500 End End Begin VB.Frame Frame2 Caption = "Datos del vehiculo:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 2535 Left = 1680 TabIndex = 6 Top = 3720 Width = 5175 Begin VB.TextBox Text_poliza Height = 285 Left = 960
  • 5. TabIndex = 35 Top = 2040 Width = 1935 End Begin VB.TextBox Text_valor_vehiculo Height = 285 Left = 1920 TabIndex = 21 Top = 1680 Width = 1935 End Begin VB.TextBox Text_año_vehiculo Height = 285 Left = 1920 TabIndex = 20 Top = 1320 Width = 1935 End Begin VB.TextBox Text_color Height = 285 Left = 960 TabIndex = 19 Top = 960 Width = 1935 End Begin VB.TextBox Text_modelo Height = 285 Left = 1080 TabIndex = 18 Top = 600 Width = 1935 End Begin VB.TextBox Text_placa Height = 285 Left = 960 TabIndex = 17 Top = 240 Width = 1935 End Begin VB.Label Label3 AutoSize = -1 'True Caption = "Poliza:" BeginProperty Font Name = "MS Sans Serif"
  • 6. Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 34 Top = 2040 Width = 585 End Begin VB.Label Label15 AutoSize = -1 'True Caption = "Placa:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 11 Top = 360 Width = 555 End Begin VB.Label Label14 AutoSize = -1 'True Caption = "Año del vehiculo:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195
  • 7. Left = 360 TabIndex = 10 Top = 1440 Width = 1500 End Begin VB.Label Label13 AutoSize = -1 'True Caption = "Modelo:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 9 Top = 720 Width = 690 End Begin VB.Label Label12 AutoSize = -1 'True Caption = "Color:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 8 Top = 1080 Width = 510 End Begin VB.Label Label11 AutoSize = -1 'True Caption = "Valor del vehiculo:"
  • 8. BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 7 Top = 1800 Width = 1605 End End Begin VB.Frame Frame1 Caption = "Datos del propietario del vehiculo:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 3135 Left = 1680 TabIndex = 0 Top = 360 Width = 5175 Begin VB.Frame Frame5 Caption = "Estado civil:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 615
  • 9. Left = 240 TabIndex = 29 Top = 2280 Width = 3135 Begin VB.OptionButton Option_soltero Caption = "Soltero" Height = 255 Left = 720 TabIndex = 31 Top = 240 Width = 855 End Begin VB.OptionButton Option_casado Caption = "Casado" Height = 255 Left = 1920 TabIndex = 30 Top = 240 Width = 855 End End Begin VB.Frame Frame4 Caption = "Sexo:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 615 Left = 240 TabIndex = 26 Top = 960 Width = 3135 Begin VB.OptionButton Option2_femenino Caption = "Femenino" Height = 255 Left = 1800 TabIndex = 28 Top = 240 Width = 1095
  • 10. End Begin VB.OptionButton Option1_masculino Caption = "Masculino" Height = 255 Left = 600 TabIndex = 27 Top = 240 Width = 1095 End End Begin VB.TextBox Text_nacimiento Height = 285 Left = 2160 TabIndex = 16 Top = 1560 Width = 1935 End Begin VB.TextBox Text_cedula Height = 285 Left = 1080 TabIndex = 15 Top = 600 Width = 1935 End Begin VB.TextBox Text_nombre Height = 285 Left = 1080 TabIndex = 14 Top = 240 Width = 1935 End Begin VB.Label Label2 AutoSize = -1 'True Caption = "Edad:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195
  • 11. Left = 360 TabIndex = 23 Top = 1920 Width = 510 End Begin VB.Label Label10 AutoSize = -1 'True BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 5 Top = 2280 Width = 75 End Begin VB.Label Label9 AutoSize = -1 'True BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 4 Top = 1080 Width = 75 End Begin VB.Label Label8 AutoSize = -1 'True Caption = "Cedula:" BeginProperty Font Name = "MS Sans Serif"
  • 12. Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 3 Top = 720 Width = 660 End Begin VB.Label Label7 AutoSize = -1 'True Caption = "Fecha de nacimiento:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195 Left = 360 TabIndex = 2 Top = 1680 Width = 1845 End Begin VB.Label Label6 AutoSize = -1 'True Caption = "Nombre:" BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 195
  • 13. Left = 360 TabIndex = 1 Top = 360 Width = 720 End End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub Command_calcular_Click() On Error GoTo ERROR: Dim Recarga1 As Double Dim Descuento As Double Dim Cobrar1 As Double Dim Cobrar2 As Double If Option2_femenino.Value = True And Option_soltero.Value = True And Text_edad < 30 And Text_año_vehiculo > 10 Then Text_valor_prima = Text_poliza Else If Option2_femenino.Value = True And Option_soltero.Value = True And Text_edad < 30 And Text_año_vehiculo < 10 Then Text_valor_prima = Text_poliza Else If Option2_femenino.Value = True And Option_soltero.Value = True And Text_edad > 30 And Text_año_vehiculo < 10 Then Text_valor_prima = Text_poliza Else If Option2_femenino.Value = True And Option_soltero.Value = True And Text_edad > 30 And Text_año_vehiculo < 10 Then Text_valor_prima = Text_poliza
  • 14. Else If Option2_femenino.Value = True And Option_casado.Value = True And Text_edad > 30 And Text_año_vehiculo > 10 Then Descuento = Text_poliza - Text_poliza * 2 / 100 Cobrar1 = Text_valor_vehiculo - Text_valor_vehiculo * 15 / 100 Text_valor_prima = Str(Descuento + Cobrar1) Else If Option2_femenino.Value = True And Option_casado.Value = True And Text_edad > 30 And Text_año_vehiculo < 10 Then Descuento = Text_poliza - Text_poliza * 2 / 100 Cobrar2 = Text_valor_vehiculo - Text_valor_vehiculo * 20 / 100 Text_valor_prima = Str(Descuento + Cobrar2) Else If Option1_masculino.Value = True And Option_casado.Value = True And Text_edad < 18 And Text_año_vehiculo > 10 Then Text_valor_prima = Text_poliza Else If Option1_masculino.Value = True And Option_casado.Value = True And Text_edad < 18 And Text_año_vehiculo < 10 Then Text_valor_prima = Text_poliza Else If Option1_masculino.Value = True And Option_casado.Value = True And Text_edad > 25 And Text_año_vehiculo > 10 Then
  • 15. Text_valor_prima = Text_poliza Else If Option1_masculino.Value = True And Option_casado.Value = True And Text_edad > 25 And Text_año_vehiculo < 10 Then Text_valor_prima = Text_poliza Else If Option1_masculino.Value = True And Option_soltero.Value = True And Text_edad < 18 And Text_año_vehiculo > 10 Then Text_valor_prima = Text_poliza Else If Option1_masculino.Value = True And Option_soltero.Value = True And Text_edad < 18 And Text_año_vehiculo < 10 Then Text_valor_prima = Text_poliza Else If Option1_masculino.Value = True And Option_soltero.Value = True And Text_edad > 25 And Text_año_vehiculo > 10 Then Text_valor_prima = Text_poliza Else If Option1_masculino.Value = True And Option_soltero.Value = True And Text_edad > 25 And Text_año_vehiculo < 10 Then Text_valor_prima = Text_poliza Else
  • 16. If Option1_masculino.Value = True And Text_edad > 18 And Text_edad < 25 And Text_año_vehiculo > 10 Then Recarga1 = Text_poliza + Text_poliza * 2 / 100 Cobrar1 = Text_valor_vehiculo - Text_valor_vehiculo * 15 / 100 Text_valor_prima = Str(Recarga1 + Cobrar1) Else If Option1_masculino.Value = True And Text_edad > 18 And Text_edad < 25 And Text_año_vehiculo < 10 Then Recarga1 = Text_poliza + Text_poliza * 2 / 100 Cobrar2 = Text_valor_vehiculo - Text_valor_vehiculo * 20 / 100 Text_valor_prima = Str(Recarga1 + Cobrar2) End If End If End If End If End If End If End If End If End If End If End If End If End If End If End If End If On Error GoTo ERROR: SALIR: Exit Sub ERROR: MsgBox ("Faltan campos por llenar") Resume SALIR: End Sub Private Sub Command_limpiar_Click()
  • 17. Text_nombre = “” Text_cedula = “” Text_nacimiento = “” Text_edad = “” Text_placa = “” Text_modelo = “” Text_color = “” Text_año_vehiculo = “” Text_valor_vehiculo = “” Text_poliza = “” Text_valor_prima = “” Option1_masculino = “” Option2_femenino = “” Option_soltero = “” Option_casado = “” End Sub Private Sub Command_salir_Click() End End Sub