473,473 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Create a toolbar in Access (not in a database)

Would someone provide a gentle explanation of how programs such as Adobe
Acrobat and Crystal Reports are able to add toolbars to the Access UI. (So
that when you start msaccess.exe these toolbars are visible immediately and
do not depend on a database being open).
The follow on Q would be whether it is possible to do this myself (add my
own toolbar), but if this requires detailed Windows-level programming it's
not something I would venture into.

Peter


Apr 10 '06 #1
8 5051
Those programs run a macro to create a toolbar. You can do the same, or
interactively use "Tools-Customize-Toolbars", click "New", then add the
buttons you desire.
-Ed

"Peter" <ru***@127.0.0.1> wrote in message
news:48********************@pipex.net...
Would someone provide a gentle explanation of how programs such as Adobe
Acrobat and Crystal Reports are able to add toolbars to the Access UI.
(So that when you start msaccess.exe these toolbars are visible
immediately and do not depend on a database being open).
The follow on Q would be whether it is possible to do this myself (add my
own toolbar), but if this requires detailed Windows-level programming it's
not something I would venture into.

Peter

Apr 10 '06 #2
Sorry - I don't follow.
What sort of macro are you talking about?Where would this macro reside?

Peter
"Ed Robichaud" <ed*********@wdn.com> wrote in message
news:44**********************@news.wdn.com...
Those programs run a macro to create a toolbar. You can do the same, or
interactively use "Tools-Customize-Toolbars", click "New", then add the
buttons you desire.
-Ed

"Peter" <ru***@127.0.0.1> wrote in message
news:48********************@pipex.net...
Would someone provide a gentle explanation of how programs such as Adobe
Acrobat and Crystal Reports are able to add toolbars to the Access UI.
(So that when you start msaccess.exe these toolbars are visible
immediately and do not depend on a database being open).
The follow on Q would be whether it is possible to do this myself (add my
own toolbar), but if this requires detailed Windows-level programming
it's not something I would venture into.

Peter


Apr 10 '06 #3
Br
Peter wrote:
Sorry - I don't follow.
What sort of macro are you talking about?Where would this macro
reside?
Peter
In Access. You can create your own toolbars in Access and you can create a
default menu that will appear when no forms are open.
"Ed Robichaud" <ed*********@wdn.com> wrote in message
news:44**********************@news.wdn.com...
Those programs run a macro to create a toolbar. You can do the
same, or interactively use "Tools-Customize-Toolbars", click "New",
then add the buttons you desire.
-Ed

"Peter" <ru***@127.0.0.1> wrote in message
news:48********************@pipex.net...
Would someone provide a gentle explanation of how programs such as
Adobe Acrobat and Crystal Reports are able to add toolbars to the
Access UI. (So that when you start msaccess.exe these toolbars are
visible immediately and do not depend on a database being open).
The follow on Q would be whether it is possible to do this myself
(add my own toolbar), but if this requires detailed Windows-level
programming it's not something I would venture into.

Peter


--
regards,

Br@dley
Apr 10 '06 #4
Should have said: Their installation programs run a macro script to add
their specific toolbar. Are you trying to customize your own version of
Access? If so, just use "Tools-Customize-Toolbars", click "New", then add
the bars & buttons you desire.
-Ed

"Peter" <ru***@127.0.0.1> wrote in message
news:NO******************************@pipex.net...
Sorry - I don't follow.
What sort of macro are you talking about?Where would this macro reside?

Peter
"Ed Robichaud" <ed*********@wdn.com> wrote in message
news:44**********************@news.wdn.com...
Those programs run a macro to create a toolbar. You can do the same, or
interactively use "Tools-Customize-Toolbars", click "New", then add the
buttons you desire.
-Ed

"Peter" <ru***@127.0.0.1> wrote in message
news:48********************@pipex.net...
Would someone provide a gentle explanation of how programs such as Adobe
Acrobat and Crystal Reports are able to add toolbars to the Access UI.
(So that when you start msaccess.exe these toolbars are visible
immediately and do not depend on a database being open).
The follow on Q would be whether it is possible to do this myself (add
my own toolbar), but if this requires detailed Windows-level programming
it's not something I would venture into.

Peter



Apr 11 '06 #5
You can simply run some of your code to add a menu, or tool bar.

However, I see LITTLE if any advantage to writing code to add a button to
EXISTING menus and tools bars (they kind of annoy users).

You can however create your own custom menu and tools bars for you
application. In fact, I strongly suggest that you do. Here is some screen
shots of menus created in ms-access, and no code, or macros were used to
create them.....

http://www.members.shaw.ca/AlbertKal...erFriendly.htm

You can create you own menu and tools bars by right clicking on a existing
menu bar..and select customize......
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
http://www.members.shaw.ca/AlbertKallal
Apr 11 '06 #6
I know I asked for a gentle explanation but I don't feel I'm making progress
at the moment.
What I am looking at is the possibility of adding my own 'database open'
toolbar button to the Access menu.

I could write a VB front end program to act as my start-up application and
achieve what I want with that.

However, I see programs such as Acrobat and Crystal Reports adding toolbars
into my Access config and wanted to try to understand how they were doing
this. That is why I was quite specific in my Q about there being no database
open, only msaccess.exe.
I know how to add menus and toolbars to an Access application. That is not
the issue here.

Ed has said that this is done by those apps running scripts but that is
still begging the Q in my eyes.
I'm really after some principles here. Is this done by making registry
changes? By modifying msaccess.exe? By using publicly available hooks
through a Windows sdk ? Something else?
I really have no idea where to start and so don't know what is the correct
Q.

Although my interest is doing this in Access perhaps I should have asked in
a Windows forum.

Peter

Apr 11 '06 #7
Br
Peter wrote:
I know I asked for a gentle explanation but I don't feel I'm making
progress at the moment.
What I am looking at is the possibility of adding my own 'database
open' toolbar button to the Access menu.

I could write a VB front end program to act as my start-up
application and achieve what I want with that.

However, I see programs such as Acrobat and Crystal Reports adding
toolbars into my Access config and wanted to try to understand how
they were doing this. That is why I was quite specific in my Q about
there being no database open, only msaccess.exe.
I know how to add menus and toolbars to an Access application. That
is not the issue here.

Ed has said that this is done by those apps running scripts but that
is still begging the Q in my eyes.
I'm really after some principles here. Is this done by making
registry changes? By modifying msaccess.exe? By using publicly
available hooks through a Windows sdk ? Something else?
I really have no idea where to start and so don't know what is the
correct Q.

Although my interest is doing this in Access perhaps I should have
asked in a Windows forum.

Peter


Make an Access toobar or create a menu with macros. Then in the
Tools/Startup set the Menu Bar value. If you need further help look in the
Access help.
--
regards,

Br@dley
Apr 11 '06 #8
AFAIK You can't create a menu/toolbar in Access unless you are in a
database. Then that menu/toolbar is part of that mdb file. It only adds to
the application UI not to the initial Access UI.

Thanks for trying though.

Peter

Make an Access toobar or create a menu with macros. Then in the
Tools/Startup set the Menu Bar value. If you need further help look in the
Access help.
--

Apr 11 '06 #9

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

Similar topics

0
by: Tom Dauria | last post by:
I inherited a weird application. Part of it is in VB6 and part in Access 2000. All of the reports and some of the forms are in Access 2000. The database is opened by the VB application. ...
3
by: Nathan Bloom | last post by:
Hi, I was wondering if there was any way to disable certain menu items and toolbar icons at runtime using VBA? Particularly the delete icon on the tool bar and the delete option under edit. I...
11
by: N. Graves | last post by:
I have checked the "Alignment and Sizing" toolbar but when I want to use in on aligning several form object the toolbar buttons stay grayed out. What am I missing. Thanks! N. Graves
0
by: Wayne Aprato | last post by:
Is there a way to stop Access standard toolbars from showing momentarily before my database and its custom toolbars load? I've found that if I uncheck the offending toolbar eg. the "Database"...
0
by: I am Sam | last post by:
Ok whats wrong with my toolbar? When I debug I don't get an error message and the databinding is working correctly but the toolbar itself and the <iewc:ToolbarDropDownlist /> control isn't showing...
1
by: bkasmai | last post by:
An access 2000 database is used by a number of users on a windows xp professional machine. Users logon to the machine using their own individual windows login name and password. The database is...
7
by: gblack301 | last post by:
Hi, I have inherited a database that I am working with in Access 2003 but the client is utlizing/working with same database in Access 2007. My predecessor built this database using a custom...
12
by: tekctrl | last post by:
Environment; Win2K PC with 1Gb of RAM and plenty of HD space running Access 2002 Issue; Access presents a blank data entry form in the Forms view when the New Record icon is used. However, it...
1
by: ncsthbell | last post by:
I have a dilemia, I have an application that I am having to make some changes to in order for it to run sucessfully under Runtime 2007. We are currently working on upgrading from 2000 to 2007. The...
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
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,...
1
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...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
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.