1 / 19

TECNOLOGICO DE ESTUDIOS SUPERIORES DE CUAUTITLAN IZCALLI

TECNOLOGICO DE ESTUDIOS SUPERIORES DE CUAUTITLAN IZCALLI. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007. LIC. LUIS ANTONIO SANCHEZ REYNOSO. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007.

mandy
Télécharger la présentation

TECNOLOGICO DE ESTUDIOS SUPERIORES DE CUAUTITLAN IZCALLI

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TECNOLOGICO DE ESTUDIOS SUPERIORES DE CUAUTITLAN IZCALLI CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  2. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Crear una base de datos en Access 2007 con el nombre de “prueba” 1 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  3. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Crear una tabla de nombre Datos y con los campos que se muestran abajo 2 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  4. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Cerrar Access 3 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  5. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Ahora debemos abrir visual 2008 y crearemos un nuevo proyecto 4 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  6. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Ahora seleccionaremos la opción de Visual Basic, después Windows Application y en el nombre cambiaremos “WindowsApplication1” Por el nombre de “Prueba” y damos clic en Aceptar 5 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  7. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Ahora creamos el siguiente formulario con los siguientes nombres de los cuadros de texto txt_nocontrol txt_nombre txt_ap txt_am cmb_sem LIC. LUIS ANTONIO SANCHEZ REYNOSO

  8. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Después agregaremos la referencia Microsoft ActiveX 2.6, damos clic en el menú proyecto y seleccionamos la opción agregar referencia 6 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  9. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Ahora en la ventana que aparece seleccionamos la pestaña “.COM” y seleccionamos la opcion “Microsoft Active X 2.6” 7 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  10. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Ahora en el explorador de soluciones damos clic derecho, seleccionamos la opción agregar y de esta la opción de Modulo 8 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  11. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Ahora dentro del modulo escribimos el código como aparece en la imagen Esta es la ruta donde se encuentra la base de datos LIC. LUIS ANTONIO SANCHEZ REYNOSO

  12. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Ahora en nuestro formulario damos doble en cualquier parte del formulario que no sea un control y agregamos el siguiente código y como variables globales agregamos las siguientes dos LIC. LUIS ANTONIO SANCHEZ REYNOSO

  13. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Ahora Agregamos el código que se muestra al botón correspondiente LIC. LUIS ANTONIO SANCHEZ REYNOSO

  14. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  15. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  16. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  17. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 LIC. LUIS ANTONIO SANCHEZ REYNOSO

  18. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 Por ultimo damos clic en el botón “play” para ejecutar nuestro programa LIC. LUIS ANTONIO SANCHEZ REYNOSO

  19. CONEXIÓN DE VISUAL BASIC 2008 A UNA BASE DE DATOS DE ACCESS 2007 FIN LIC. LUIS ANTONIO SANCHEZ REYNOSO

More Related