MS Access 2016 accdb file not opening forms on a different PC

I am working with a .Net developer to create a DLL that I reference from my MS Access application.  To help testing, I created a very basic Access 2016 db with a couple of forms and a module that will contain all of the code.  However, when I send him the .accdb file, the startup form does not load.  Plus, he can only go into Layout and Design view of the forms.  The odd thing is that he can open the module and run the test functions just fine (either from the Immediate window or directly).

He doesn't get any security warnings, it's pretty much the same version (slightly different revision), our security settings seem similar (we have compared Trust-center settings and added his location) - but nothing - the forms will not open normally.  Also, there are no compile errors.

I'm sure it's something to do with security  - I'm just not able to see the fix at the moment.

Any ideas would be very much appreciated.
Andy BrownDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
um....what is he opening it with?

Andy BrownDeveloperAuthor Commented:
Hi Jim - hope you are well.  Not sure what you mean.  He has Office 365 / Access 2016.
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
Life is good thanks.

He has Office 365 / Access 2016.

 That's what I meant.

 I can't think of anything off-hand, other than he should try disabling his anti-virus.

 If that doesn't work, then I would suspect the office install.   Have him:

1. Open Access.
2. Create a new DB
3. Create a form and save it.
4. see if he can open the form normally.

If he can do that, I'll have to think about this some more.

Get a highly available system for cyber protection

The Acronis SDI Appliance is a new plug-n-play solution with pre-configured Acronis Software-Defined Infrastructure software that gives service providers and enterprises ready access to a fault-tolerant system, which combines universal storage and high-performance virtualization.

Andy BrownDeveloperAuthor Commented:
Let me try that.

Thanks Jim.
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Also be sure he's got the database in a Trusted Location.
Andy BrownDeveloperAuthor Commented:
Thanks Scott - we have checked that, but I'll get him to double check.
Andy BrownDeveloperAuthor Commented:
It turned out that it was the Access db causing the issue.  I rebuilt the test app from scratch on my PC, sent it over and everything worked.  I think the issue was down to 1 or 2 things:

*  Playing with different dll references.
* Calling the event by using =FunctionName("1") .

Either way - we're good.

Thanks for all of your help as always.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
Ah references....the bane of VBA.

 I really wished they (Microsoft) had addressed that.   I don't think we'll ever see a change there though :(

Andy BrownDeveloperAuthor Commented:
I hear you.....
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.