Solved

Will OLEs from Access 2003 VBA Environment Be Functional if I save the file in Access 2000 Format?

Posted on 2008-06-19
5
252 Views
Last Modified: 2013-12-05
Hello,

I am currently working on a project under Access 2003 environment. However, the ADP file (Access Database Project) I am working with is in Access 2000 format in hopes to allow users with Access 2000 or newer can use the file.

I am concerned because I have used OLEs that I believe may not be available in the Access 2000 environment. If I save the file in Access 2000 format, will the references that I am using in VBA be also fully functional when the file is opened with Access 2000? As in, will all of the OLEs that I employed be automatically included when I save the file in Access 2000 format? I considered using the Developer Extensions however I think it can only do the packaging with Access 2002-2003 file format. (Am I right?) If the OLE references are not automatically included, how could I include those so that users with Access 2000 can use it?

I currently have the following references marked on my VBA side:
Visual Basic for Applications
Microsoft Access 11.0 Object Library
OLE Automation
Microsoft DAO 3.6 Object Library
Microsoft Office Web Components 11.0
Microsoft Windows Common Controls 6.0 (SP6)
Microsoft Excel 11.0 Object Library
Microsoft ActiveX Data Objects 2.1 Library

Your help would be greatly appreciated.
0
Comment
Question by:auracon
  • 2
5 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 21823603
Hello auracon,

You might be OK, but to be safe I would drop the reference to Excel 11 and change your automation
of Excel in your app from early binding to late binding.

Regards,

Patrick
0
 

Author Comment

by:auracon
ID: 21823804
So are all the references already included int he file then? how do i made sure this happens? and why would you say i might be ok?  (what factors affect this?)

thank you!
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 21835378
auracon,

It is difficult to tell a priori whether or not you will be OK.  What I am suggesting is, rather than using early
binding, you should use late binding if you have to support >1 version of Office.

Regards,

Patrick
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now