473,804 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Unhide DB Window w/VBA?

Applications I work with routinely hide the database window on Startup,
which, once open, return this value:
CurrentDb.Prope rties![StartUpShowDBWi ndow] = False

During maintenance, I use a special keystroke to close the main form and
leave me in the DB Window, but I always have to then unhide it before I can
work. I can use this to bring up the Unhide dialog box, but I still have to
hit enter to OK the action:
DoCmd.RunComman d acCmdWindowUnhi de

Is there a better way to do this? For example:
SomethingDBWind ow.Visible = True ??
Or a way for SendKeys to complete the action for me? (The SendKeys syntax
I've tried doesn't work.)

--Vic
Oct 3 '06 #1
5 1819
victorcamp wrote:
Is there a better way to do this?
DoCmd.SelectObj ect acTable, , True

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 3 '06 #2
Ooooh! That's it! I knew there was a better way. Thanks!

"Granny Spitz via AccessMonster.c om" <u26473@uwewrot e in message
news:6739e27f2b 181@uwe...
victorcamp wrote:
>Is there a better way to do this?

DoCmd.SelectObj ect acTable, , True

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 3 '06 #3
victorcamp wrote:
Ooooh! That's it! I knew there was a better way. Thanks!
You're welcome, Victor. I'm happy to share those *quickie* tricks!

--
Message posted via http://www.accessmonster.com

Oct 3 '06 #4
Granny Spitz via AccessMonster.c om wrote:
victorcamp wrote:
>>Ooooh! That's it! I knew there was a better way. Thanks!


You're welcome, Victor. I'm happy to share those *quickie* tricks!
Check out these two URLs for a full-featured solution.

--
'---------------
'John Mishefske
'---------------
Oct 4 '06 #5
John Mishefske wrote:
>
Check out these two URLs for a full-featured solution.
Well I could have sworn I had pasted the URLs in...

Let's try this again:

http://www.mvps.org/access/general/gen0031.htm
http://www.mvps.org/access/api/api0069.htm

--
'---------------
'John Mishefske
'---------------
Oct 4 '06 #6

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

Similar topics

2
18378
by: Peter K | last post by:
How do I Hide/Unhide the Main Database Window in VB?
4
7081
by: caimito | last post by:
Hello to the group. I have been unsuccessful at unhiding the database window via code. The most I have gotten is to open the unhide dialogue from a command button on a form, but then I still have to select the datbase from the dialogue box and click unhide. Is there a more direct method via code? I use access 2000 but am transitioning to access 2003.
7
2023
by: MLH | last post by:
Is there any case you can imagine that A97 would NOT display the Unhide option under the Window menu after running this line... Me.Visible = False Yes, its happening to me. The Unhide choice is grayed out after running this line on a form that was opened with the acDialog parm. Guys, this wierd stuff I'm encountering, could some hardware issue be responsible or would a viral element be more likely at fault?
5
1827
by: MLH | last post by:
I used this line in A2.0 to unhide the database window: DoCmd.DoMenuItem A_FORMBAR, 4, 4, 0, A_MENU_VER20 Although it will work in A97, it will also unhide anything else that's hidden on each successive run. Is there a more specific command syntax to unhide a given form (or the database window)?
8
11536
by: Mészáros Tamás | last post by:
Hi all, how can I set an app's main window to visible from an other application? My problem is, that I know only the handle of the other app's main process, because the application's main window is set to hidden, so it doesn't have a mainwindowHandle, so I can't send a message to it. Any idea? Thank's in advance,
4
3671
by: g3000 | last post by:
I have seen examples of hiding and showing a div What I want to do is have a table with six columns. The sixth column is a check box to Unhide a div that is a form. I want it to show on top of the table to enter in comments. Then click submit in the div form and hide the div. Pop up window is not what I want. I dont want the window like border. Almost like a floating frame in the middle of the table.
3
2799
by: toodi4 | last post by:
I'm using a javascript that hides and unhides text based on a button click. It works great across static fields on a form. The problem I have is that I'm trying to hide and unhide various fields that are populated on the page by a database. In other words, sometimes there are 4 fields, sometimes 6. I've used various scripts for the hide/unhide function. This is one I'm using now that I've copied from another source: <script...
3
2453
by: =?Utf-8?B?aWxy?= | last post by:
Hi All I am developing an vb 2005 winforms application that connects to a database and displays a datagridview of the data. A user can select and then edit, or create a new entry by opening a modal form and editing the record. I would like the user to be able to hide either the parent form or the parent and modal form if they are currently editing in the modal form and unhide the parent or both forms from the notification icon. I seem...
1
5793
by: Simon | last post by:
Dear reader, In a datasheet form you have the possibility to hide or unhide columns. But in case the datasheet form is a sub-form this functionality is not longer available.
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10600
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10350
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10351
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7638
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5534
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4311
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.