473,854 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
+ 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 5080
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******** ************@pi pex.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*********@wd n.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******** ************@pi pex.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*********@wd n.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******** ************@pi pex.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.n et...
Sorry - I don't follow.
What sort of macro are you talking about?Where would this macro reside?

Peter
"Ed Robichaud" <ed*********@wd n.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******** ************@pi pex.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
1437
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. Anyway I created a custom menu/toolbar. When the VB app opens the Access database the original full menu is there even though in the form/report I have picked my own menu/toolbar. However the full menu is not active. When you click on it nothing...
3
2874
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 want to force any record deletes to be performed through the database rather then allow deletes from the menu and toolbar options. If this is not possible is there a way to restrict table views without using the security features? There are...
11
2927
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
1236
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" toolbar, in the toolbars list on my machine, the toolbar will still flash momentarily when Access starts on any other machine where the toolbar has not been unchecked. Any help would be appreciated.
0
1510
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 up all that is returned to the web page is the buttons text and the contents of the DropDownlist. What am I doing wrong here? Below is the control I typed in and below that is the code behind. <iewc:toolbar id="Toolbar1" runat="server">...
1
2458
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 in a folder acccessible by all users. One of the users reported that the built-in toolbar disappeared fro the screen. I cannot get built-in toolbar back for this particular user. For all the other users i can make the built-in toolbar appear and...
7
7296
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 menu/toolbar preventing any access to the form design toolbar. Is there any clear-cut method to bypass this menu and open the database with the standard menu and toolbars? In addition, I have not found any admin module/version for this database and he is...
12
3294
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 won't allow any fields to have data entered into them. I can edit & save existing records without problem. When I go into the Tables view, I can add records and data ok and save without problem. I go back into the Table and I can see the data. ...
1
5585
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 users will be running the apps under 'Runtime Access 2007' Here is my dilema... This application is used as a 'stand alone', basically, my users get a copy of the 'master' database and enter their data specifically for one account, each account they...
0
9901
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11024
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
10371
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9513
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...
1
7914
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
5741
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
5941
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4560
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
3
3186
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.