Professional Documents
Culture Documents
INTEGRANTE
DESCRIPCIN DE EJERCICIO
En este ejercicio lo que se quiere realizar el modelo de una factura y a la vez utilizar la
factura electrnica correctamente.
OBJETIVOS
PAGINA PRINCIPAL DE LA
FACTURA
SE PRECIONA PARA
BUSCAR EL PRODUCTO
AQU APARECE LA
DESCRIPCION Y
PRECIO DEL
PRODUCTO
AQU SE
COLOCA LA
CANTIDAD A
COMPRAR Y SE
PRECIONA LA TECLA
ENTER
AQU YA
APARECE EL
SUBTOTAL Y SE
PRECIONA LA TECLA
ENTER
AQU YA SE
CALCULO EL IVA Y EL
TOTAL
Y SE ALMACENA
AQUI
AL
PRESIONAR EN EL
BOTN VENDER SE
GENERA EL NMERO DE
LA FACTURA
BOTON SALIR
MENOS LA TABLA
Public Class Form1
Dim cant As Integer
Dim precio_unitario, precio_total_por_producto As Integer
Dim total_a_pagar, total, iva As Integer
Const c_iva As Integer = 14
Dim a_precio As Integer
Dim g_num_fac As Integer
Sub producto()
Textcodigo.Text = "001"
Textnompro.Text = "laptos"
Textdespro.Text = "laptop HP compac"
Textprepro.Text = "800"
End Sub
Sub producto1()
Textcodigo.Text = "002"
Textnompro.Text = "monitores"
Textdespro.Text = "monitor lg 26"""
Textprepro.Text = "160"
End Sub
Sub producto2()
Textcodigo.Text = "003"
Textnompro.Text = "teclado"
Textdespro.Text = "teclado genius"
Textprepro.Text = "20" Esto es para
End Sub generar los
Sub producto3()
Textcodigo.Text = "004" cdigos de los
Textnompro.Text = "parlantes" productos
Textdespro.Text = "parlantes genius"
Textprepro.Text = "40"
End Sub
Sub producto4()
Textcodigo.Text = "005"
Textnompro.Text = "impresora"
Textdespro.Text = "impresora canon inyeccion de tinta"
Textprepro.Text = "1100"
End Sub
Sub producto5()
Textcodigo.Text = "006"
Textnompro.Text = "mouse"
Textdespro.Text = "mouse logitech"
Textprepro.Text = "25"
End Sub
Sub producto6()
Textcodigo.Text = "007"
Textnompro.Text = "tablet"
Textdespro.Text = "tablet intel TM75A"
Textprepro.Text = "650"
End Sub
Private Sub Textcodigo_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles Textcodigo.KeyPress
If e.KeyChar = ChrW(Keys.Enter) Then
Textcodigo.Focus()
End If
End Sub
End If
TextBox2.Focus()
End Sub
End Sub
End Class
CONCLUSIN
SUGERENCIAS
DIFICULTADES