Tutorial de visual pawer point
-
Upload
profefunez -
Category
Automotive
-
view
138 -
download
2
description
Transcript of Tutorial de visual pawer point
![Page 1: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/1.jpg)
INSTITUTO :MANUEL PAGAN LOZANO
NOMBRE DEL ALUMNO : TANIA VILLANUEVA
CATEDRÁTICO : ADÁN FÚNEZ
MATERIA : PROGRAMACIÓN
![Page 2: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/2.jpg)
PASOS PARA UN FORMULARIO DE VISUAL BASIC
Entrar en inicio
![Page 3: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/3.jpg)
BRIR VISUAL BASIC
![Page 4: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/4.jpg)
EN ESTE CASO AREMOS UN FORMULARIO BASADO EN UNA MINI AGENDA, QUE YEBARA LOS SIGUIENTES DATOS
*Nombres *Estado Civil *Teléfono
*Apellidos *Edad *Correo Electrónico
*Dirección *Sexo
Botones de comando
*Nuevo *Guardar
*Eliminar *Salir
Podemos agregar color
Con la propiedad back color Buscamos la opción escritorio
Y elegimos el color que deseemos
![Page 5: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/5.jpg)
![Page 6: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/6.jpg)
PARA EN PESAR A COLOCAR LOS DATOS INSERTAMOS LABEL Y TEXTBOX
textbox
label
![Page 7: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/7.jpg)
LUEGO AGREGUE LOS BOTONES DE COMANDO Y UN DATA
comandos
data
![Page 8: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/8.jpg)
PARA COLOCAR LA INFORMACIÓN RESPECTIVA DE CADA LABEL, DE CLIC Y EN LA PROPIEDAD CAPITÓN
ESCRIBA LA INFORMACIÓN , EN LOS TEXT BUSCAMOS LA PROPIEDAD TEXT Y BORRAMOS EL CONTENIDO TEXT
click
tex
text
![Page 9: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/9.jpg)
LUEGO DAMOS CLICK EN EN LOS BOTONES DE COMANDOY EN LA PROPIEDAD CAPITÓN DE CADA BOTÓN UBICAMOS
NUEVO,GUARADAR,ELIMINAR Y SALIR Y IGUAL EL DATA SERÁESTUDIANTES REGISTRADOS
En la propiedad Font podemos cambiar el estilo de
letra y tamaño de texto delos label y textbox
click
capitón
Font
![Page 10: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/10.jpg)
PARA QUITARLE LO GRIS DEL LABEL NOS VAMOS ALA PROPIEDAD BACKSTYLE
Y LO CAMBIAMOS A TRASPARENTE, EN TEX DEBAJO DE DIRECCIÓNDAMOS CLICK Y EN LA PROPIEDAD MULTILINE CAMBIAMOS LA OPCIÓN A TRUE, LUEGO EN LA PROPIEDAD ESCROLLBARS LO CAMBIAMOS A 3 BOTH FIJÉMONOS COMO CAMBIA EL TEXT DE
DIRECCIÓN
backstyle
click
Buscar multiline
![Page 11: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/11.jpg)
NOTA:EN LA PROPIEDAD MAXLENTH DELA CAJA
DE TEXTO ( ESTADO CIVIL , SEXO) ESTABLECEREL # 1,PARA QUE AL MOMENTO
DE ESCRIBIR SOLO PODAMOS INGRESAR UN CARÁCTER, Y EN LA CAJA DE TEXTO EDAD EN LA
PROPIEDAD MAXLENTH INGRESAR EL # 2
![Page 12: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/12.jpg)
UNA VEZ YA COMPLETADO EL FORMULARIOPODEMOS CODIFICAR LOS BOTONES DE
COMANDO
Damos doble click en el botón Nuevo
![Page 13: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/13.jpg)
Nos aparecerá la opción del primer botón de comandoPara codificar , ingresaremos lo siguiente :
Data1.Recordset.AddNew
insertar
código
![Page 14: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/14.jpg)
LUEGO VOLVEMOS AL FORMULARIO Y DAMOS CLIC EN EL BOTÓN GUARDAR Y INGRESAMOS LO
SIGUIENTE : LA PRIMERA LETRA EN MAYÚSCULAS Y LAS DEMÁS EN MINÚSCULAS =
DATA.1RECORDSET.UPDATE
![Page 15: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/15.jpg)
SALIMOS Y ANOS VAMOS AL SIGUIENTE BOTÓN QUE ES EL BOTÓN ELIMINAR Y INGRESAMOS LO
SIGUIENTE: DATA 1.RECORDSET.DELETE
DATA1.REFRESH
![Page 16: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/16.jpg)
POR ULTIMO DAMOS CLIC EN BOTÓN SALIRY SOLO COLOCAMOS : END
![Page 17: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/17.jpg)
LUEGO DE EVER CODIFICADO DAMOS F5
![Page 18: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/18.jpg)
PARA VOLVER A EDITAR EL FORMULARIO BUSCAMOS MINIMIZAR EL FORMULARIO
Y DAR LA OPCIÓN TERMINAR
minimizar
terminar
![Page 19: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/19.jpg)
LUEGO DE ESTO NOS VAMOS A PROYECTO Y DAMOS CLIC EN FORM 1 MINI AGENDA
Proyecto,form1
![Page 20: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/20.jpg)
LO SIGUIENTE QUE VAMOS HACER ES CREAR UNA BASE DE DATOS VISUAL BASIC EL PRIMER PASO ES
BUSCAR LA OPCIÓN COMPLEMENTOS LUEGO ADMINISTRADOR VISUAL DE DATOS
complementos
administrado
r
![Page 21: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/21.jpg)
LUEGO EN LA VENTANA QUE APARECE BUSCAMOS ARCHIVO - NUEVO- MICROSOFT
ACCESS -MDB DELA VERSIÓN 7.0
![Page 22: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/22.jpg)
Buscar la opción (carpeta) en donde esta
El proyecto ( mini agenda) y guardaremos la base de datos
guardar
NOTA
GUARADR CON BASE DE DATOS SEGUIDA DE SU
PRIMER NOMBRE
![Page 23: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/23.jpg)
DAREMOS CLIC DERECHO EN EL ESPACIO EN BLANCO Y SELECCIONAREMOS NUEVA TABLA
![Page 24: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/24.jpg)
UNA VEZ CREADA LA NUEVA TABLA LE DAREMOS EL SIGUIENTE NOMBRE ; TABLA SEGUIDO DE SU
PRIMER APELLIDO
LUEGO SELECCIONAR LA OPCION AGREGAR CAMPOS, PARA AGREGAR TODOS LOS CAMPOS DEL FORMULARIO QUE
DESEAMOS GUARDAR EN LA TABLA
NOMBRE DELA TABLA
AGREGAR CAMPOSaceptar
![Page 25: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/25.jpg)
aceptar
Los campos que agregaremos son los datos que van en el formulario
![Page 26: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/26.jpg)
Una vez generada la tabla damos cerrar en todas las ventanas a excepción de la venta del formulario
cerrar
![Page 27: Tutorial de visual pawer point](https://reader036.fdocument.pub/reader036/viewer/2022081420/556515eed8b42a1a1d8b4eb1/html5/thumbnails/27.jpg)
Espero que este tutorial les haiga ayudado mucho a orientarse a usar visual
BASIC , poner en practica nuestros conocimientos
para ayudar a otros es de gran satisfacción así como nosotros necesitamos que
nos aluden también queremos ayudar