473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Database window appears when it should not!

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?
Nov 12 '05 #1
3 3230
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.
Nov 12 '05 #2
On Mon, 15 Dec 2003 22:09:15 -0000, "Deano" <de*********@hotmail.com>
wrote:
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'?


ALL options are unchecked in the A2K MDB file at the time the MDE is
generated. The DB window is appearing when the user opens a form from
a menu. The DB window should NEVER be visible to the user, even if he
attempts to use the bypass key (Hold down SHIFT on launch). I say
again, this behavior only happens when running under office XP or
Office 2003 versions of Access.
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
Thanks for the code. I'll try it.

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.

Thanks very much for your effort. This might work.
Merry Christmas!
Nov 12 '05 #3
LaurenW wrote:
On Mon, 15 Dec 2003 22:09:15 -0000, "Deano" <de*********@hotmail.com>
wrote:


Thanks very much for your effort. This might work.
Merry Christmas!


No problem. I did a quick search on Microsoft's KB and found these two
articles that relate to Access 2002

http://support.microsoft.com/default...b;en-us;304092
ACC2002: The Database Window Is Displayed When a Database Is Opened from the
Most Recently Used File List Even After You Clear the "Display Database
Window" Check Box
http://support.microsoft.com/default...b;en-us;313915
ACC2002: Database Window Is Displayed When You Click the Application Icon
Even Though You Turned Off the "Display Database Window" Startup Option
Another thing I would do is to create a test database with one form in it,
configure it as you are currently doing, create an MDE and test it on
XP/2003.

hth
Martin
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
4
by: Blaine | last post by:
Does anyone know how I can hide a form from the TaskManager? I've set the ShowInTaskbar to False, but when using Alt-TAB to switch between applications, it appears as a blank icon. I can set it...
4
by: Jeremy Chapman | last post by:
I have build a web page that lists files in a database. When the user clicks on the file the page streams the file contents to the browser with code like:...
16
by: MLH | last post by:
If I give someone a runtime app, they can open the database window by pressing the F-11 key. How to prevent???
26
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
3
by: dani kotlar | last post by:
I use a table adapter to add rows to a database, using Update(); After adding a row to the database and closing the application, if I run the application again, and call Fill(), I can see the new...
10
by: Reedsp | last post by:
Version: MSAccess 2003 SP2 Explination: I have a database that connects to an oracle database. I have setup an ODBC connection under the System DSN tab in the ODBC Source Administrator. The...
1
by: thaixyz | last post by:
Hi, I am migrating SQL 2000 database from one machine to another using the detach/attach method. I used the TSQL script sp_help_revlogin procedure provided by microsoft to copy the logins, this...
24
by: Jeremy J Starcher | last post by:
While reading c.l.j, I've noticed that some people prefer and indeed even recommend the use of "window.alert()" over "alert()". I can't find any technical reason to make this distinction, and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.