LaurenW wrote:
My company has an A2K app that has been running just fine for a long
time. Recently, some users notice that the database window appears
when some forms are loaded.
Right before we release a version update, we set the "AllowBypassKey"
property to false. Then we convert the mdb file to an mde after
turning off the "Show database window option in the startup panel.
This appears to be happening only on Office XP and Office 2003.
Any advice?
Does this happen without any input from the user?
Have you unchecked the 'Use Access Special Keys'?
I'm not familiar with Office XP or 2003 but what about adding some code in
the open event of your forms to specifically hide the database window?
I found this useful info from a posting by John Mishefske earlier this year;
Public Sub hideDBwindow()
DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide
End Sub
Public Sub showDBwindow()
DoCmd.SelectObject acTable, , True
End Sub
The hide code looks like it has to select a table in the database window
which shows it and then it's a case of hiding the current window, so it
might also be worthwhile turning screenupdating off for the duration to
avoid any possible flicker.
It's a workaround I guess til you work out exactly what is causing it.