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
256 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access 2016 7 34
Any Way to Print an Import Spec? 3 30
Report with several filters - Issue with query? 3 23
Error with a code discussed on this page 5 14
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…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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…
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…

772 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