ms-access


Forcing Microsoft Access to acknowledge that the a Microsoft Access ADE file exists


Here are the details about my local development computer environment:
- Windows 7 Professional 64-bit Operating System
- Microsoft Office Access 2007 (12.0.6735.5000) SP3 MSO (12.0.6743.5000)
At work, I received these 3 Microsoft Access files that are used to generate reports for one of our applications:
ReportEngine.ade
ReportEngine.ADP
RptEngCore.ade
I've been given the responsibility of trying to understand the code and database schema associated with said files.
The main file is the ReportEngine.ADP file.
I opened up the ReportEngine.ADP in Microsoft Office Access 2007 which in turn opened up Microsoft Visual Basic Editor.
In Microsoft Visual Basic Editor, I navigate and click on Debug -- > Compile ReportEngine , but it gives me the following error:
"Compile error: Can't find project or library"
Then, I navigate and click on Run -- > Reset
Next, I navigate and click on Tools -- > References , and I get the following Window Screen:
Microsoft Access dialog windows missing reference ade file
I clicked on the "Browse..." shown in the dialog window screen above, and I specify the file RptEngCore.ade which was one of the other Microsoft Access files that I mentioned in the list at the top of this stackoverflow posting.
Unfortunately, it still mentioned that the said file was missing by showing the same dialog window screen shown above again.
I thought the error could be resolved by registering the RptEngCore.ade from Dos command prompt.
I ran Dos command prompt in Administrator mode, and ran the 64-bit version of regsvr32 registration command:
C:>%systemroot%\SysWoW64\regsvr32 RptEngCore.ade
However, it gave me the following message:
Windows Registration file compatibility issue
I thought that I might need to run the 32-bit version of regsvr32 registration command:
C:>%systemroot%\System32\regsvr32 RptEngCore.ade
I still got the aforementioned registration message shown above
Could someone please tell me how I can get Microsoft Access to acknowledge that the RptEngCore.ade exists?
Take a look at the following Microsoft article that describes 'How Access resolves Visual Basic for Applications references' It is a step-by-step explanation that should solve your issue.
https://support.microsoft.com/en-us/help/824255/how-access-resolves-visual-basic-for-applications-references
The ADE is likely corrupt, or the reference to it in the host file is expecting a different version. When you reference and ADE, MDE, etc., Access caches information about it. If the referenced file ever changes, Access often gets confused. Other VBA based products do not do this.
I would remake the ADE, and re-reference it, like this:
When you open the ADP project (RptEngCore.ADP), make sure the project name is the name of the file, without the extension. From the VBA editor in RptEngCore.ADP, go to Tools > Properties, and make sure the Project Name is the same as you expect. This is what will appear as a reference name once you reference it, not the name of the file itself. Your code may use a fully-qualified reference, like RptEngCore.MyMethod(). Make the ADE from the RptEngCore.ADP in a location with the correct permissions. Open the file that needs to references the new ADE, and drop the existing reference to it from the references window, or from VBA code (References.Remove(name)). IMPORTANT: NOw compact and repair the database, and then go back and re-add the reference from the Reference window.
#wayne-g-dunn and #danielg : Thank you for your posts.
However, when I upgraded to Microsoft Access 2010, the reference RptEngCore.ade dependency was successfully seen by Microsoft Access 2010.
I spoke to the original developers, and they said that they develop/maintain/support the application using Microsoft Access 2010.

Related Links

How to combine more than 2 Microsoft Access tables into one table?
Access mdb not giving correct result
MS Access Macro to change form to No data entry
setting control source property of a textbox of subform in its parent form in ms access?
I need to dynamically (and quickly) import part of the data in an Access table (a large one) into Excel
MS Access query does not append any rows as an append query, but does select rows as a select query
How can I stop my subform from autoscrolling when an item is being edited?
How to autofill a field from a variable in Access 2007
using dlookup in a text box
Using Like function in Access
Any reason to run JETCOMP on smaller MDB file? [closed]
how to clear text box inside a macro?
Access 2007 referential integrity without using lookup within table
Access Query If/or condition
need to refresh subform based list box selection in access 2007
Error when opening the mainform before subform

Categories

HOME
multithreading
cloud
push-notification
smarty
react-virtualized
relative-path
syntax
cplex
mean-stack
sqlite-net-extensions
jira
spring-cloud-stream
survey
pivotal-cloud-foundry
azure-storage-tables
add
elasticsearch-hadoop
fancybox-3
volttron
windows-azure-storage
visual-studio-2005
systemc
ef-migrations
shared-hosting
firefox-webextensions
autoconf
intentfilter
blazemeter
apache-commons-io
dynamic-featured-image
google-rich-snippets
ecto
airconsole
google-api-nodejs-client
libraries
azure-ml
turbogears
vao
netcdf4
appcompat
azure-application-gateway
pubmed
qsslsocket
paxos
rdfs
flutterwave
gcsfuse
hittest
yt-project
time-and-attendance
xcb
heidisql
transmitfile
player
qpid
gridview-sorting
angstrom-linux
essence
captivenetwork
revolution-r
javax.sound.midi
python-3.2
muse
arcanist
myo
sniffer
angular-local-storage
dereference
c++03
mdt
tld
picturefill
multiprocessor
hungarian-algorithm
angularjs-controller
ocx
coredump
datareader
visitor-statistic
subviews
.nettiers
vc90
user-friendly
multi-tier
nintendo-ds
backcolor
zend-decorators
genealogy
post-build
document-conversion

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App