Dear all,
I have developed a db using Access 2013 (Office365) as a desktop application. (64 bit)
I am now trying to make it transferrable to users who have only the runtime version of access.
I have:
My problem is that on my own computer, I have no errors.
I have installed Access Runtime 2016 on my wife's computer (64bit) and as soon as I run the file, I get a Runtime error and the program shuts down.
At one stage, I managed to trap an error relating to a module (which I had deleted already). But this trappable error disappeared after a decompile.
Given some "issues" with backwards compatibility between 2016 and 2013 - shouldn't be an issue because I don't have ULS nor pivot tables), I have uninstalled the 2016 runtime and re-installed 2013 runtime on the wifes computer - same problems.
All my error handling attempts to Log the error to a table, AFTER messaging the user. None of this happens. I get the generic runtime error and it shuts down.
From my reading, I have focussed on the references. As stated above, I initially minimised it down to just 3 refences, but have since added the Engine Object Library back in, as Microsoft suggest this is a default.
I have also tried to find all the referenced files. On my computer, they do not all exist in the locations specified by the Reference manager or by directly enumerating the reference properties via VBA. However, I found them all by searches, and have then ensured they all exist on the target computer.
Because of differences in tree structure, the folder I have copVBEied them into match as close as possible the destinations specified by the Reference manager (and not where they were on my computer). (Note: I only needed to copy the Engine Object Library (ACEDAO.dll) and VB for A library (VBE7.1.dll)
I am at a loss as to how to proceed. :banghead:
Any help and advice appreciated.
I have developed a db using Access 2013 (Office365) as a desktop application. (64 bit)
I am now trying to make it transferrable to users who have only the runtime version of access.
I have:
Used Option Explicit for every module / form / report / class etc
Converted as much of my VBA to late binding and removed references down to the minimum (OLE Automation, VB for A, MS Access 15.0 Obj Lib, MS Office 15 Access DB engine Object lib - this last one I can also remove I believe)
Added error handling to EVERY procedure - even the 'one-liners'
Added Form and Report 'On Error" handling as well with "Response = acDataErrContinue" specified.
Decompiled and Compacted my db
Created a new db and then imported all objects to the new db
Run the file on my full version Access using the /runtime emulator.
My problem is that on my own computer, I have no errors.
I have installed Access Runtime 2016 on my wife's computer (64bit) and as soon as I run the file, I get a Runtime error and the program shuts down.
At one stage, I managed to trap an error relating to a module (which I had deleted already). But this trappable error disappeared after a decompile.
Given some "issues" with backwards compatibility between 2016 and 2013 - shouldn't be an issue because I don't have ULS nor pivot tables), I have uninstalled the 2016 runtime and re-installed 2013 runtime on the wifes computer - same problems.
All my error handling attempts to Log the error to a table, AFTER messaging the user. None of this happens. I get the generic runtime error and it shuts down.
From my reading, I have focussed on the references. As stated above, I initially minimised it down to just 3 refences, but have since added the Engine Object Library back in, as Microsoft suggest this is a default.
I have also tried to find all the referenced files. On my computer, they do not all exist in the locations specified by the Reference manager or by directly enumerating the reference properties via VBA. However, I found them all by searches, and have then ensured they all exist on the target computer.
Because of differences in tree structure, the folder I have copVBEied them into match as close as possible the destinations specified by the Reference manager (and not where they were on my computer). (Note: I only needed to copy the Engine Object Library (ACEDAO.dll) and VB for A library (VBE7.1.dll)
I am at a loss as to how to proceed. :banghead:
Any help and advice appreciated.