I have prepared a full database system which my client wants as a runtime. I downloaded the tools set containing the Package Solution Wizard and after some time was able to use it confidently.
I beg your patience as the solutions offered were laboriously attempted, fairly complicated, and did not yield a satisfactory result.
This deployment tool only allows one database at a time, so I created one installation package for my front-end, with included files such as a spreadsheet which is an import sample. An Excel license is expected on the client machine. Another package was created for the back-end, and one more for the configuration database.
Installation went smoothly.
I ensured that my Microsoft Office Service Packs were up to date.
On opening the system and logging in, my relink code worked, and I had the interface in front of me. It consists of a tabbed control as my menu, with some tabs having buttons only, some having forms with subforms on them. Only one simple form without subforms, shows correctly.
However all those with subforms were blank. All controls were not visible. (Nothing to do with coding). Tabs with buttons only, were visible. On clicking any button that runs core VBA functions, such as string functions, there were errors such as you see in the "Errors" tab in the attached.
One solution offered to me was that installation references can be in the wrong order (although the development database's are correct). However that cannot be manipulated in a runtime (.accdr) file.
I tried installing to an office 2000, 2003 and 2007 machine which have no Access pre-installed.
Further, permissions was proposed as an issue. Using the Workgroup Administrator, I attempted to assign myself full control as an Administrator on the development front-end. On going into Properties of its shortcut, and clicking "Advanced", brought me to the option "Run as Administrator". But that was greyed out. However I regenerated the packages, reinstalled, and had the same result.
The core references I used were:
-VBA
-MS Acc 12.0 OLB
-OLE Aut
-MSO 12.0 Acc DB Engine Objects Lib
References I included were:
-Microsoft Windows Common Controls 6.0 (SP6)
-Microsoft Office 12.0 Object Library
-Microsoft Excel 12.0 Object Library
Are you actually using the reference for "OLE Aut". If not, remove it.
Sounds like a missing reference issue. I would highly recommend convert as much as you can to using Late Binding. This will allow you to use whatever version oif the other Office apps that are installed.
See: Late Binding in Microsoft Access
You may also be having a version issue with "Microsoft Windows Common Controls 6.0 (SP6)". Curious, what are you using this to do?
What is the Windows OS versions, including 32 or 64 bit, you are using to compile the .accde?
FWIW: I compile my accde or mde on Windows XP. This avoids Windows version reference issues.