473,804 Members | 3,031 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where are A97 command button pictures stored?

MLH
If I choose a command button on a form in design view,
open the properties box and click the Picture property
and its wiz button, I'm presented with a lengthy list of
pictures. Everything from Add Table, Address Book,
Airplane to Underline, Undo, Undo (Rewind). I would
like to know where they are stored. I thought it might be
c:\program files\microsoft office\office\b itmaps but I
don't think so.

Anybody know where they are stored and if more bitmaps
can be added?
Feb 12 '06 #1
21 13020
MLH wrote:
If I choose a command button on a form in design view,
open the properties box and click the Picture property
and its wiz button, I'm presented with a lengthy list of
pictures. Everything from Add Table, Address Book,
Airplane to Underline, Undo, Undo (Rewind). I would
like to know where they are stored. I thought it might be
c:\program files\microsoft office\office\b itmaps but I
don't think so.

Anybody know where they are stored and if more bitmaps
can be added?


I think the icons used for Access 97 are stored in one of the dll's.

James A. Fortune
CD********@Fort uneJames.com

Feb 13 '06 #2
> If I choose a command button on a form in design view,
open the properties box and click the Picture property
and its wiz button, I'm presented with a lengthy list of
pictures. Everything from Add Table, Address Book,
Airplane to Underline, Undo, Undo (Rewind). I would
like to know where they are stored. I thought it might be
c:\program files\microsoft office\office\b itmaps but I
don't think so.

Anybody know where they are stored and if more bitmaps
can be added?


What you see in the Picture Builder dialog is stored in a DLL and cannot be
modified. The icon selection is not the greatest, to be sure.

I found a program called Icon Maker (no endorsement, just a tool I've used)
that will retrieve all the icons from all the various DLLs and EXEs on your
system and let you customize and save them as a .ico (or just make your own
icons from scratch).

http://www.icon-maker.com/

To use a .ico stored on disk, you'll need to modify the control's property
sheet so the Picture property is the full path to where the icon is located,
and set the Picture Type property to "Linked". You can programmaticall y set
the Picture path if you need to.

At least this is true for AC03 - not sure about AC97.

Feb 13 '06 #3
MLH
You must be right. I cannot find separate files for any of them.
Feb 13 '06 #4


"deko" <de**@nospam.co m> wrote in message
news:lJ******** ************@co mcast.com...
If I choose a command button on a form in design view,
open the properties box and click the Picture property
and its wiz button, I'm presented with a lengthy list of
pictures. Everything from Add Table, Address Book,
Airplane to Underline, Undo, Undo (Rewind). I would
like to know where they are stored. I thought it might be
c:\program files\microsoft office\office\b itmaps but I
don't think so.

Anybody know where they are stored and if more bitmaps
can be added?
What you see in the Picture Builder dialog is stored in a DLL and cannot

be modified. The icon selection is not the greatest, to be sure.

I found a program called Icon Maker (no endorsement, just a tool I've used) that will retrieve all the icons from all the various DLLs and EXEs on your system and let you customize and save them as a .ico (or just make your own icons from scratch).

http://www.icon-maker.com/

To use a .ico stored on disk, you'll need to modify the control's property
sheet so the Picture property is the full path to where the icon is located, and set the Picture Type property to "Linked". You can programmaticall y set the Picture path if you need to.

At least this is true for AC03 - not sure about AC97.

True enough, but if you are distributing the app, you wouldn't want to have
to include icon files. I prefer to embed the icon on the command buttons
where needed.

There are a number freeware programs that will extract icons, in addition to
the one mentioned above. I use one called Icon Ripper. Also another
freeware called IconEdit, which makes it easy to edit them.

--
Randy Harris
tech at promail dot com
I'm pretty sure I know everything that I can remember.

Feb 13 '06 #5
> True enough, but if you are distributing the app, you wouldn't want to
have
to include icon files. I prefer to embed the icon on the command buttons
where needed.


I tried embedding them but couldn't get it to work. When the app was opened
on the client machine, the button had no icon. So I just put the icons in
the same location as the database, which is easy enough to find with code.
If the user moves the database around without moving the icons, well, that's
a billable call...

Feb 13 '06 #6
Randy Harris wrote:
to include icon files. I prefer to embed the icon on the command buttons
where needed.


Ahh... I was thinking of new toolbar images. Don't forget that you're
not limited only to icon images for command buttons:

http://groups.google.com/group/comp....9be8a6b757a694

I have one command button with a mushroom-shaped cloud:
Picture: C:\Nuke.bmp
Picture Type: Embedded
ControlTip Text: Nuke

Even though MS has been expanding the pixel dimensions of icon files
they're still more limited than BMP's.

James A. Fortune
CD********@Fort uneJames.com

Feb 14 '06 #7
> Randy Harris wrote:
to include icon files. I prefer to embed the icon on the command buttons
where needed.


Ahh... I was thinking of new toolbar images. Don't forget that you're
not limited only to icon images for command buttons:

I have one command button with a mushroom-shaped cloud:
Picture: C:\Nuke.bmp
Picture Type: Embedded
ControlTip Text: Nuke

Even though MS has been expanding the pixel dimensions of icon files
they're still more limited than BMP's.


True, but if you embed a bunch of BMPs you're increasing the size of the
database. With 1k icons, there's no performance difference between Linked
and Embedded, which is likely with a large linked BMP. And linked icons can
be changed without recompiling - and you can test for their existence. So I
could give my MDE app a new look just be distributing a new set of icons.

If fact, this has got me thinking - could I change the background color of a
form by pointing its Picture property to a solid colored icon? With an MDB,
I can programmaticall y open a form in design mode and change the background
color, but this is not possible with an MDE. And usually the first question
I'm asked is "how do I change the color"?

Feb 14 '06 #8
deko wrote:
Randy Harris wrote:
to include icon files. I prefer to embed the icon on the command
buttons where needed.


Ahh... I was thinking of new toolbar images. Don't forget that
you're not limited only to icon images for command buttons:

I have one command button with a mushroom-shaped cloud:
Picture: C:\Nuke.bmp
Picture Type: Embedded
ControlTip Text: Nuke

Even though MS has been expanding the pixel dimensions of icon files
they're still more limited than BMP's.


True, but if you embed a bunch of BMPs you're increasing the size of
the database. With 1k icons, there's no performance difference
between Linked and Embedded, which is likely with a large linked BMP.
And linked icons can be changed without recompiling - and you can
test for their existence. So I could give my MDE app a new look just
be distributing a new set of icons.
If fact, this has got me thinking - could I change the background
color of a form by pointing its Picture property to a solid colored
icon? With an MDB, I can programmaticall y open a form in design mode
and change the background color, but this is not possible with an
MDE. And usually the first question I'm asked is "how do I change
the color"?


You can change the background color of a from in an MDE. The change just won't
persist, but then a change to the background image property wouldn't persist
either. I suppose you could make it persist by changing the name of the bmp
file amongst several of different colors.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Feb 14 '06 #9
deko wrote:
Randy Harris wrote:
to include icon files. I prefer to embed the icon on the command buttons
where needed.
Ahh... I was thinking of new toolbar images. Don't forget that you're
not limited only to icon images for command buttons:

I have one command button with a mushroom-shaped cloud:
Picture: C:\Nuke.bmp
Picture Type: Embedded
ControlTip Text: Nuke

Even though MS has been expanding the pixel dimensions of icon files
they're still more limited than BMP's.


True, but if you embed a bunch of BMPs you're increasing the size of the
database. With 1k icons, there's no performance difference between Linked
and Embedded, which is likely with a large linked BMP. And linked icons can
be changed without recompiling - and you can test for their existence. So I
could give my MDE app a new look just be distributing a new set of icons.


Yes, I thought about the size factor. Good point. Usually command
buttons aren't very large so that's not a big problem when they're
placed in a 40 Mb mdb. Hmm... your idea about the new look using a new
set of icons for an MDE is interesting and new to me. I'll have to
consider it.

If fact, this has got me thinking - could I change the background color of a
form by pointing its Picture property to a solid colored icon? With an MDB,
I can programmaticall y open a form in design mode and change the background
color, but this is not possible with an MDE. And usually the first question
I'm asked is "how do I change the color"?


I haven't tried that either. It looks like I need to do some
experimenting. Thanks for the ideas.

James A. Fortune
CD********@Fort uneJames.com

Feb 14 '06 #10

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

Similar topics

8
2173
by: bearophileHUGS | last post by:
Hello, I have four things to ask or to suggest, sorry if they seem basic or already discussed. ------------------- I am still ignorant about Tkinter. This little program, after pressing the "Go" eats more and more RAM, is it normal? Can it be avoided? (In normal programs this is isn't a real problem). ! import Tkinter
12
20943
by: Wadim Grasza | last post by:
I want to store and display (on a form or a report) multiple pictures per record in an access database. The pictures are not stored within the database. They are stored as files and the database contains the paths to the pictures. The database consists of two tables: TABLE DATA ID Name LastName
4
3092
by: Johnny Emde | last post by:
Hello I'am building an web application that enable users to get data stored in a SQL Server. My problem is pictures. How can I display pictures stored in SQL Server - In the old days, I took the picture and saved it into disk and loaded from here... Kind regards
5
3986
by: howser99 | last post by:
Hi All Ive got an issue with inserting images into a command button from a table that I have embedded a OLE object into. The following is the code Im am trying to use; If bolMenuVisible Then Me("Option" & rst!).Visible = True ' Me("Option" & rst!).Picture = rst! ' icon ' Me("Option" & rst!).PictureData = cmd1.PictureData ' icon Me("Option" &...
7
2110
by: google | last post by:
I would like to execute a single JavaScript command from within a web service. The command is a mathmatical statement. I have a web page with some client side logic that does this and I'm now moving that functionality into a web service. To clarify - on the UI the user is collecting and entering data and then it gets stored into the database. Most fields are input but there are some that are calculated and stored. The calculated...
1
13976
by: DaveF | last post by:
Any Ideas as to this error message. I am trying to learn using ms sql server 7.0 Below is the code I am using for an update to a MS Sql Database. <%@ Language=VBScript %> <% Option Explicit %> <html> <head>
14
25071
by: keri | last post by:
Hi, Simple version of the question..... How do I use the where clause of the open form command to show an account with a matching ID to be displayed when the form is opened? Eg. I select a record on a continuous form and click and edit button. The button runs the open form code. I want the APPID of the current record on the continous form to match the APPID of the record viewed
5
2126
by: Alexnb | last post by:
Hello I am sure most of you are familiar with py2exe. I am having a bit of a problem. See the program has a few pictures involved and the .ico it uses for the windows. However, the pictures are stored in the same directory as the source, something like: C:\Docs and settings\me\My docs\python\program. When I run the program for the interpreter, just as a .py, everything works just as it should. However, when I compile the main source as...
14
22205
by: alnino | last post by:
Hi, I have a command button on a form that the user can use to browse to a file and the user can select that file and a hyperlink to that file is stored in a txtfield for that record. I then have a command button that a user can click to open and view the associated file. This all works fine. BUT: I would like the command button that allows the user to view the file to be hidden if no hyperlink was added. In other words the txtfield...
0
9705
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
9575
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
10073
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...
1
7609
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
5513
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
5645
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4288
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
3806
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2981
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.