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
263 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
[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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

729 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