Tutorial de visual pawer point

27
INSTITUTO :MANUEL PAGAN LOZANO NOMBRE DEL ALUMNO : TANIA VILLANUEVA CATEDRÁTICO : ADÁN FÚNEZ MATERIA : PROGRAMACIÓN

description

programacion

Transcript of Tutorial de visual pawer point

Page 1: Tutorial de visual pawer point

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

PASOS PARA UN FORMULARIO DE VISUAL BASIC

Entrar en inicio

Page 3: Tutorial de visual pawer point

BRIR VISUAL BASIC

Page 4: Tutorial de visual pawer point

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
Page 6: Tutorial de visual pawer point

PARA EN PESAR A COLOCAR LOS DATOS INSERTAMOS LABEL Y TEXTBOX

textbox

label

Page 7: Tutorial de visual pawer point

LUEGO AGREGUE LOS BOTONES DE COMANDO Y UN DATA

comandos

data

Page 8: Tutorial de visual pawer point

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

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

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

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

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

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

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

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

POR ULTIMO DAMOS CLIC EN BOTÓN SALIRY SOLO COLOCAMOS : END

Page 17: Tutorial de visual pawer point

LUEGO DE EVER CODIFICADO DAMOS F5

Page 18: Tutorial de visual pawer point

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

LUEGO DE ESTO NOS VAMOS A PROYECTO Y DAMOS CLIC EN FORM 1 MINI AGENDA

Proyecto,form1

Page 20: Tutorial de visual pawer point

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

LUEGO EN LA VENTANA QUE APARECE BUSCAMOS ARCHIVO - NUEVO- MICROSOFT

ACCESS -MDB DELA VERSIÓN 7.0

Page 22: Tutorial de visual pawer point

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

DAREMOS CLIC DERECHO EN EL ESPACIO EN BLANCO Y SELECCIONAREMOS NUEVA TABLA

Page 24: Tutorial de visual pawer point

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

aceptar

Los campos que agregaremos son los datos que van en el formulario

Page 26: Tutorial de visual pawer point

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

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