A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Cannot programmatically open custom message in custom form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 20th 06, 01:52 PM posted to microsoft.public.outlook.program_forms
ms
external usenet poster
 
Posts: 6
Default Cannot programmatically open custom message in custom form

Hello

I have installed an OL form to handle custom messages, ie. messages with
extended properties. I also installed menu and toolbar to handle custom
messages.
Creating new custom message from OL GUI works fine - the new message opens
in my custom form.
But sadly, opening a custom message programmatically fails - the message
always opens in the standard OL form, not my custom form. Meaning that not
all the message properties can be displayed or edited for a programmatically
opened message.
Could this be because the FormDescription.MessageClass is wrong?
Outlook Spy reveals that the message's MessageClass is correct:
IPM.NOTE.MYNOTE, while the message's FormDescription.MessageClass is wrong:
IPM.NOTE.
How to change the read-only property FormDescription.MessageClass...? Is
there anything else that could cause this problem?
Ads
  #2  
Old January 20th 06, 03:01 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Cannot programmatically open custom message in custom form

I'm not sure what you mean by "opening a custom message programmatically." Can you post a code snippet. Also, did you create a separate read layout for your IPM.Note.MyNote? If not, then you're probably seeing your custom form, but it's using the default read layout.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"ms" wrote in message ...
Hello

I have installed an OL form to handle custom messages, ie. messages with
extended properties. I also installed menu and toolbar to handle custom
messages.
Creating new custom message from OL GUI works fine - the new message opens
in my custom form.
But sadly, opening a custom message programmatically fails - the message
always opens in the standard OL form, not my custom form. Meaning that not
all the message properties can be displayed or edited for a programmatically
opened message.
Could this be because the FormDescription.MessageClass is wrong?
Outlook Spy reveals that the message's MessageClass is correct:
IPM.NOTE.MYNOTE, while the message's FormDescription.MessageClass is wrong:
IPM.NOTE.
How to change the read-only property FormDescription.MessageClass...? Is
there anything else that could cause this problem?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom form Charlie Outlook - Using Contacts 5 March 8th 06 04:24 PM
Inserting a picture in the message body of a custom form groom Outlook - General Queries 1 February 8th 06 10:08 PM
Using a custom contacts form kwilson Outlook - Using Contacts 2 February 2nd 06 03:27 PM
Custom form Melbin Outlook - Using Forms 1 January 24th 06 12:17 PM
opening new custom Message form Melbin Outlook - Using Forms 2 January 24th 06 12:16 PM


All times are GMT +1. The time now is 07:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.