Solved

Using Access with a VB app

Posted on 2002-03-27
3
164 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 100 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month10 days, 1 hour left to enroll

623 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