473,840 Members | 1,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I don't know how to make the toolbars not show up in A97

MLH
Is there a simple way to hide built-in toolbars in A97?
Nov 13 '05 #1
4 1665
MLH
I'm afraid I understated the question.

I'm aware of clicking View, Toolbars, Customize and of
selecting/deselection the checkboxes in the resulting
dialog box. That's not what I'm talking about. I want to
do it from code.

In the development environment, I want these toolbars.
I do not want them to show up, however, in an app
that I roll out in the runtime environment. Not wanting
to click these options before preparing the mde and
rolling out a runtime app, I would just like to know the
equivalent code that accomplishes the same as say,
clicking View, Toolbars, Customize and deselecting
the "Database Toolbar".
Nov 13 '05 #2
MLH
Even though the following snippet comes right out-a-the
A97 Help, I find that the Database Toolbar still shows up
for me in my runtime environment. That seems contradictory
to the following HELP blurb...

The run-time environment disables all built-in Microsoft Access
toolbars. However, even though the run-time environment doesn't
support built-in toolbars, you can add your own custom toolbars to
your application.
When you create a custom toolbar, it is stored in the current
database. It will automatically be available to your application.
By default, the Microsoft Access run-time environment turns all
toolbars off. The run-time environment will not automatically show and
hide your custom toolbars as the context changes. It's up to your
application to show and hide your custom toolbars using the
ShowToolbar method in the Activate and Deactivate event procedures of
your forms and reports. You can also customize a form or report by
using the Toolbar, MenuBar, and ShortcutMenuBar properties.

For examples of using the ShowToolbar method and the Toolbar and
MenuBar properties, see the Developer Solutions sample application.
Nov 13 '05 #3
MLH wrote:
Even though the following snippet comes right out-a-the
A97 Help, I find that the Database Toolbar still shows up
for me in my runtime environment. That seems contradictory
to the following HELP blurb...

The run-time environment disables all built-in Microsoft Access
toolbars. However, even though the run-time environment doesn't
support built-in toolbars, you can add your own custom toolbars to
your application.
When you create a custom toolbar, it is stored in the current
database. It will automatically be available to your application.
By default, the Microsoft Access run-time environment turns all
toolbars off. The run-time environment will not automatically show and
hide your custom toolbars as the context changes. It's up to your
application to show and hide your custom toolbars using the
ShowToolbar method in the Activate and Deactivate event procedures of
your forms and reports. You can also customize a form or report by
using the Toolbar, MenuBar, and ShortcutMenuBar properties.

For examples of using the ShowToolbar method and the Toolbar and
MenuBar properties, see the Developer Solutions sample application.


When you say "Runtime Environment", what are you thinking of? Whne the
help file says it, they're talking about the msaccess runtime version
that's distributed with the "office developer whatsit"[1].

You can hide toolbars using DoCmd.ShowToolb ar.

[1] whatever they called it in that version.

--
[OO=00=OO]
Nov 13 '05 #4
MLH
Yes, Trevor, that's it. The runtime environment one is in when
running an app rolled out with the ODE tools in developer edition.

xxxxxxxxxxxxxxx xxxxxxxxxxxxxx

When you say "Runtime Environment", what are you thinking of? Whne the
help file says it, they're talking about the msaccess runtime version
that's distributed with the "office developer whatsit"[1].

You can hide toolbars using DoCmd.ShowToolb ar.

[1] whatever they called it in that version.


Nov 13 '05 #5

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

Similar topics

2
357
by: John Galt | last post by:
I noticed that the Visual Studio.NET statusbar on one of my development machines has disappeared. I.e., the IDE statusbar, not the form control. Does anyone know how to restore it? (It doesn't appear to be in View/Toolbars.)
2
2272
by: Sandra | last post by:
Hello, I want to develop an application for WindowsCE using eMbedded Visual C++ 4.0. Is it possible to add/delete or hide/show toolbars by running the application. e.g. the user choose a menuitem and then a second toolbar should be opened. Can anybody help me??? Many greetings Sandra
1
2655
by: Mario Crevits | last post by:
My name is Mario Crevits, I'm from Belgium (Roeselare) and I'm working with Access97 for several years now. We are in an Access97-2000 migration project. I'm writing a wizard for the end-users to automatically find and convert their Access97 databases on a specific drive. I want to convert the databases through VBA : 1. create an empty Access2000 2. set the right properties and references 3. import the objects (tables, queries,...
1
11330
by: cefrancke | last post by:
I have set the Startup properties to the following... All menus, toolbars, etc are turned off plus these are unchecked Allow Full Menus Allow Built-in Toolbars Allow Default Shortcut Menus Allow Toolbar/Menu Changes Use Access Special Keys
3
11532
by: cefrancke | last post by:
The only reason I ask is that no one has made this subject clear or given a definitive answer. What I would like to do is, after turning off all the menus/tbars/etc using the startup options. Upon restarting Access, when an admin is detected (I use a GetSystemUser() function) I want to restore everything so that Access behaves like normal, ie. all menus/tbars/etc show up (only where they are supposed to show up).
0
1328
by: jkricka | last post by:
Hi! Can someone please explain me how to show/hide word toolbars? I'm oppening new word doc with follownig code. public class classWordDoc { private Word.ApplicationClass WordApp = new Word.ApplicationClass(); Word.Document bDoc = new Word.Document();
19
3887
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set ReuseParameterValuesOnRefresh="True" in a viewer, but it still doesn't work. Did anyone run into this problem. What's the solution? Please help. Thank you
1
1478
by: Free BSD | last post by:
Hi, Is there a possibility that i can control the toolbars from my javascript code snippet ??? like ... make a window with my custom toolbars or like window.open .. with now toolbars
3
2212
by: Uriah Piddle | last post by:
Hi Gang, With your help, I can show a thumbnail image in a new browser window. But I would like to open the browser without all of the toolbars and sized smaller -- something like what you get when you click on a product image at the Amazon site. Here is the code line I am using now: <a href="ShowImage.aspx?Image=Explorer" target="_blank" />
0
9698
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
10916
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...
1
10657
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,...
0
9436
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5684
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
5872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4495
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
4071
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.