Icons on custom forms are not working

J

Jerry Camel

What am I doing wrong? I load .ico files into the fileds on the properties
page of the form in desing time. But when the form is sent, it always uses
the default icons. (note or post)

How do I get it to use my icons? They're still there when I view the form
in design time.

Thanks

Jerry
 
J

Jerry Camel

Publish in the Org Forms Lib
Not sending the def with the form
For testing, I popped up a msgbox with the message class and it hasn't
reverted to a standard class.

I found the KB article and none of the stuff seems to apply...

Jerry


Where is the form published? Is the "send form definition with item" box
checked or clear?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP]

Where is the form published? Is the "send form definition with item" box checked or clear?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP]

Are the .ico files the correct 32x32 size? Help | About This Form indicates it's the right form?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
J

Jerry Camel

I'm not sure I understand this... In design mode, Help|About this form...
Is grayed out. In run mode, there is no Help|About this form... option.

And yes, the icons are 32x32 for the large and 16x16 for the small...

Also, it looks like the icon show correctly in sent items, but no where
else.

Jerry


Are the .ico files the correct 32x32 size? Help | About This Form indicates
it's the right form?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP]

If you are not seeing Help | About This Form in run mode, then you are almost certainly working with a one-off form, which would explain why the items don't have the correct icons. See http://www.slipstick.com/dev/formpub.htm#oneoff for possible causes.

Both icons need to be 32x32, BTW. The smaller one puts the 16x16 in one corner. Take a look at one of the *s.ico files and you'll see how this works.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
J

Jerry Camel

Alright... This is making me a bit nuts. I'm getting very inconsistent
results. These are pretty simple forms I'm dealing with. In fact, the only
code in one of 'em is "Item.Close(Flase)" in the Reply event.

It seems that I do get the "About this form" option when I choose the form
from the file menu, but not when I run the form from the design environment.
That I can deal with. But the Icons still don't work. That said... This
time, I got the proper icon when the reply to the second form showed up in
my inbox.

I'm not doing anything with these forms that's been asociated with
one-offing them. And when I do get the About option, the about window lists
my form class in title bar.

It seems to me that this should be a pretty simple thing to do. The icon
definition becomes part of the form, right? You don't have to have the .ico
file on the destination machine do you? That would be a bit strange... I
just don't know what the problem could be at this point. Any more insight
you have is greatly appreciated, but I'm starting to think I should just
give up on the whole icon situation.

Jerry




If you are not seeing Help | About This Form in run mode, then you are
almost certainly working with a one-off form, which would explain why the
items don't have the correct icons. See
http://www.slipstick.com/dev/formpub.htm#oneoff for possible causes.

Both icons need to be 32x32, BTW. The smaller one puts the 16x16 in one
corner. Take a look at one of the *s.ico files and you'll see how this
works.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
J

Jerry Camel

Yes. I spelled "False" correctly in the form. ;o)


If you are not seeing Help | About This Form in run mode, then you are
almost certainly working with a one-off form, which would explain why the
items don't have the correct icons. See
http://www.slipstick.com/dev/formpub.htm#oneoff for possible causes.

Both icons need to be 32x32, BTW. The smaller one puts the 16x16 in one
corner. Take a look at one of the *s.ico files and you'll see how this
works.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP]

Running the form from the design environment means you're running a one-off item. Testing needs to be done with the published form. You don't need the *.ico file on all machines; it's in the form definition.

Did you fix the small icon so that you're using a 32x32 image for it?

The other recipient is in your same Exchange organization, right? Do they see the right form name in About This Form? FWIW, I find it helpful to maintain at least a version number on the form. Comes in handy for this kind of troubleshooting, because it gives you a way to determining if the user is looking at the latest published version.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
J

Jerry Camel

I didn't fix the image yet, but on the one occasion when it worked I did get
the top left corner of the full icon. So I know how to fix that issue.

At the moment, I'm sending the forms only to me. So, yes, the recip in in
the same org. And I am versioning the forms.

Like I said - it seems this should be a very simple thing. :-s

Jerry


Running the form from the design environment means you're running a one-off
item. Testing needs to be done with the published form. You don't need the
*.ico file on all machines; it's in the form definition.

Did you fix the small icon so that you're using a 32x32 image for it?

The other recipient is in your same Exchange organization, right? Do they
see the right form name in About This Form? FWIW, I find it helpful to
maintain at least a version number on the form. Comes in handy for this kind
of troubleshooting, because it gives you a way to determining if the user is
looking at the latest published version.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP]

Outlook version? Is your address marked for rich-text?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top