Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using Access with a VB app

Posted on 2002-03-27
3
Medium Priority
?
168 Views
Last Modified: 2013-11-14
My question is rather simple as I am new to VB.  I would like to create a small application that uses an access database with a VB front end interface.  I would then like to load the application on a machine that does not have access installed.  Will the application still be able to use the .mdb database or do I need to install Office or additional .dlls on all machines that are going to use the application.  One other thought is there a setting in the database that I created with access that needs to be set.  
0
Comment
Question by:LBoorn
3 Comments
 
LVL 1

Expert Comment

by:COAtheGREAT
ID: 6899228
You dont nead Access to use mdb file but you nead some ODBC or OLEDB driver to access database. For example mdac 2.7
0
 
LVL 12

Accepted Solution

by:
pjknibbs earned 300 total points
ID: 6899239
If you create an installer using the wizard which ships with VB, or using the VB installer creator in InstallShield, it'll add all the stuff you need for you. You would need to do this anyway--just copying the VB executable onto the end user's system isn't likely to work because they're not guaranteed to have the appropriate VB run-time DLL.
0
 
LVL 4

Expert Comment

by:trkcorp
ID: 6899248
If you use the package and deployment wizard that comes with VB to create an install for your programming, then it will automatically include the necessary supporting structure that the target machine may need in order for your program to run and access your database.  This wizard can be found on the Add-Ins manager of the Add-Ins menu in the VB IDE.  You may need to add some files to the install package, such as your access database itself.  This is very simple, and once inside the wizard, it should become readily apparent how to do this.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question