Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
268 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 93

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 93

Accepted Solution

by:
Patrick Matthews earned 2000 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

722 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