473,406 Members | 2,404 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.

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 1642
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.ShowToolbar.

[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.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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.ShowToolbar.

[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
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...
2
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...
1
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...
1
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...
3
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. ...
0
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...
19
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...
1
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
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
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.