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

Is it possible to write this VBA code any better?
MS Access: Update a Linked List Box
How can I check if an instance of a Access 2010 form is still open?
How to debug a docmd.transferdatabase statement that does not work (no compiler error, simply does not xfer the data)
How to set initial selections of controls in a MS access report on its load?
Access 2000 Timeouts on bound recordset
Query to a Meaningful Report
MS Access “duplicate values” error, but I don't know why
Generate uml from vba
Is it possible to change Msysobjects in ms access
How can I make MS-Access choose a different/the right execution plan for my query
Access 2007 Reports - How to 'unfix' fields?
Hide Access Options
MS Access “record changes” log
Format combox in Access 2007
MS Access how can a subform get the value from another subform?

Categories

HOME
ionic-framework
pdf
gitlab
layout
getelementsbytagname
at-command
malloc
fingerprint
flyway4
directx
esper
add
maude-system
facebook-php-sdk
tomcat6
midi
windows-azure-storage
usergrid
fortumo
msp430
caml
vaadin7
ghc
angular-ui
serilog
oxyplot
java-3d
intentfilter
accessor
telerik-reporting
autosys
microsoft-sync-framework
brunch
minitab
publish
google-rich-snippets
binary-data
column-family
catch-all
commit
gammu
mapbox-gl
hexo
wpf-controls
scaffold
theano.scan
vapor
unobtrusive-validation
preconditions
dynamic-reports
powershell-dsc
google-closure
jvm-languages
node-gyp
midl
flickr-api
rainbowtable
smartcontracts
paxos
ionicons
hls.js
lowpass-filter
recursive-datastructures
worker-thread
windows-mobile-6.5
ifs
knpmenubundle
orthogonal
minimization
vmware-tools
infix-notation
savon
file-writing
mongocsharpdriver
flash-cs5
packagist
bluemix-app-scan
php-parse-error
freedesktop.org
hsv
rtbkit
system32
kineticjs
csquery
block-device
modalpopup
typekit
ng-animate
cdt
id3v2
project-planning
quantlib-swig
pygit2
limejs
lcs
gil
quickdialog
nsnetservice
rdoc
online-compilation
subscript
adk
stage
django-tagging
appendto
telerik-scheduler
3gp
ntvdm.exe

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