Select to view content in your preferred language

Can't use IApplication.LockCustomization... MSAccess locks ArcMap 10.0 at startup

537
0
04-02-2013 09:55 PM
MindyWright
Emerging Contributor
I built a customized .mxd that uses VBA code (in ArcMap 8x).  During the MxDocument OpenDocument event, I get a reference to the application and implement LockCustomization.

This worked in ArcMap 9x also.  But in 10.0 it's causing an error because 10.0 apparently references MS Access during start-up.  So I can't use my customization filter because there's already an active lock created by MS Access.

I know the error is caused by MSAccess because if I open the .mxd on a computer I've never been on before, the MS Access screen opens DURING THE ARCMAP START-UP and asks me to enter my name and initials (just like it would if I was opening MS Access for the first-time use).

Why is ArcMap 10.0 calling MSAccess during start-up, and how do I prevent MSAccess from causing a lock?

(Yes, I know VBA won't work in 10.2, but I'm in 10.0 .)
0 Kudos
0 Replies