本文介绍了连接VB6和MS Access 2007的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个简单的Visual Basic 6程序/数据库,该程序/数据库使用ms Access 2007作为后端.我没有vb编程的背景.我只想作为连接vb和访问的最简单方法是什么?我已经在互联网上搜索了几乎所有有关如何执行此操作的信息,但我认为我做错了.有谁能够帮我?谢谢.

I'm trying to create a simple visual basic 6 program/database that uses ms access 2007 as the back end. I have no background with vb programming. I just want to as what are the simplest way(s) in connecting vb and access? I've searched almost all over the internet on how to do this but I think I'm doing it wrong. Can anybody help me? Thanks.

推荐答案

使用ADO. VB6用户指南中有一个有关将VB6连接到Access的教​​程. http://msdn.microsoft.com/zh-我们/library/aa240855(v=vs.60).aspx

Use ADO. Theres a tutorial in the VB6 user guide about connecting VB6 to Access. http://msdn.microsoft.com/en-us/library/aa240855(v=vs.60).aspx

您将需要为Access 2007使用适当的连接字符串. http://www.connectionstrings.com /access-2007

You will need to use an appropriate connection string for Access 2007. http://www.connectionstrings.com/access-2007

这篇关于连接VB6和MS Access 2007的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 22:00