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

New Mail Form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 15th 06, 11:47 AM posted to microsoft.public.outlook.program_forms
TrevorG
external usenet poster
 
Posts: 8
Default New Mail Form

I have created a new mail form which I want to use purely to display mails
items not to create them. ie. User creates a normal email, it is added to
our store, I change the messageClass to have an extension of IPM.Note.MyForm.
I have published this form to a folder. New items created in this folder are
using this form but this is not the approach I would like. I would like new
messages to be created using the normal form which is ok because they are
created outside our store normally, but when added to this folder they can
display properties I set on the message. I am using MAPI to set the
properties eg. New property DocumentId I want this to show on all messages
opened in this folder, as all of our emails are assigned one. Have I went
about this incorrectly? If I add an email created using this form it holds
onto the properties created on it by the form, and does not use the new ones
placed on it by mapi - any ideas? If I need a different approach please tell
me. Thanks. Trev.
Ads
  #2  
Old September 18th 06, 11:20 AM posted to microsoft.public.outlook.program_forms
T-rev
external usenet poster
 
Posts: 23
Default New Mail Form - Please help further details.

In addition to this I forgot to give you what I am working with.

I have written a medium level RTF aware mapi message store.

I place properties onto the messages when requested from our store which can
be read by external apps, or from exchange extensions add in we have.

But I wish to give a better integration with outlook and as such have these
fields visible within a standard mail form - or as I thought a new form
based on the basic mail form.

So say I place property DocId onto each message - how do I make a form
IPM.Note.MyClass show this field on it for each message with this message
class. Bearing in mind that they were not created using this form - they
were created using standard mail form and added to this folder possibly
through another client (not outlook) which is why I want to use this form
for viewing purposes only.

thanks in advance.
"TrevorG" wrote in message
...
I have created a new mail form which I want to use purely to display mails
items not to create them. ie. User creates a normal email, it is added to
our store, I change the messageClass to have an extension of
IPM.Note.MyForm.
I have published this form to a folder. New items created in this folder
are
using this form but this is not the approach I would like. I would like
new
messages to be created using the normal form which is ok because they are
created outside our store normally, but when added to this folder they can
display properties I set on the message. I am using MAPI to set the
properties eg. New property DocumentId I want this to show on all messages
opened in this folder, as all of our emails are assigned one. Have I went
about this incorrectly? If I add an email created using this form it
holds
onto the properties created on it by the form, and does not use the new
ones
placed on it by mapi - any ideas? If I need a different approach please
tell
me. Thanks. Trev.



  #3  
Old September 18th 06, 01:56 PM posted to microsoft.public.outlook.program_forms
TrevorG
external usenet poster
 
Posts: 8
Default New Mail Form - Please help further details.

Ok it looks as if forms built in this don't seem to do what I want - they add
addition properties in a formDescription and UserProperties field which I
don't want, I want them to have values based on mapiProperties, so I have
started programatically showing values - published forms now seems to show
correctly for emails since dropping userDefined fields on item.

Now need to access mapiObject custom fields through VB code on the form.

Any Idea - started new thread for this. Also if you have any better ideas
on approach do let me know if I am going down the wrong line

"T-rev" wrote:

In addition to this I forgot to give you what I am working with.

I have written a medium level RTF aware mapi message store.

I place properties onto the messages when requested from our store which can
be read by external apps, or from exchange extensions add in we have.

But I wish to give a better integration with outlook and as such have these
fields visible within a standard mail form - or as I thought a new form
based on the basic mail form.

So say I place property DocId onto each message - how do I make a form
IPM.Note.MyClass show this field on it for each message with this message
class. Bearing in mind that they were not created using this form - they
were created using standard mail form and added to this folder possibly
through another client (not outlook) which is why I want to use this form
for viewing purposes only.

thanks in advance.
"TrevorG" wrote in message
...
I have created a new mail form which I want to use purely to display mails
items not to create them. ie. User creates a normal email, it is added to
our store, I change the messageClass to have an extension of
IPM.Note.MyForm.
I have published this form to a folder. New items created in this folder
are
using this form but this is not the approach I would like. I would like
new
messages to be created using the normal form which is ok because they are
created outside our store normally, but when added to this folder they can
display properties I set on the message. I am using MAPI to set the
properties eg. New property DocumentId I want this to show on all messages
opened in this folder, as all of our emails are assigned one. Have I went
about this incorrectly? If I add an email created using this form it
holds
onto the properties created on it by the form, and does not use the new
ones
placed on it by mapi - any ideas? If I need a different approach please
tell
me. Thanks. Trev.




  #4  
Old September 21st 06, 10:09 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default New Mail Form - Please help further details.

You'd have to use CDO 1.21 or Redemption to get to the MAPI property tags in VBScript (not VB) code behind the form. See http://www.cdolive.com/cdo10.htm

--
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

"TrevorG" wrote in message ...
Ok it looks as if forms built in this don't seem to do what I want - they add
addition properties in a formDescription and UserProperties field which I
don't want, I want them to have values based on mapiProperties, so I have
started programatically showing values - published forms now seems to show
correctly for emails since dropping userDefined fields on item.

Now need to access mapiObject custom fields through VB code on the form.

Any Idea - started new thread for this. Also if you have any better ideas
on approach do let me know if I am going down the wrong line

"T-rev" wrote:

In addition to this I forgot to give you what I am working with.

I have written a medium level RTF aware mapi message store.

I place properties onto the messages when requested from our store which can
be read by external apps, or from exchange extensions add in we have.

But I wish to give a better integration with outlook and as such have these
fields visible within a standard mail form - or as I thought a new form
based on the basic mail form.

So say I place property DocId onto each message - how do I make a form
IPM.Note.MyClass show this field on it for each message with this message
class. Bearing in mind that they were not created using this form - they
were created using standard mail form and added to this folder possibly
through another client (not outlook) which is why I want to use this form
for viewing purposes only.

thanks in advance.
"TrevorG" wrote in message
...
I have created a new mail form which I want to use purely to display mails
items not to create them. ie. User creates a normal email, it is added to
our store, I change the messageClass to have an extension of
IPM.Note.MyForm.
I have published this form to a folder. New items created in this folder
are
using this form but this is not the approach I would like. I would like
new
messages to be created using the normal form which is ok because they are
created outside our store normally, but when added to this folder they can
display properties I set on the message. I am using MAPI to set the
properties eg. New property DocumentId I want this to show on all messages
opened in this folder, as all of our emails are assigned one. Have I went
about this incorrectly? If I add an email created using this form it
holds
onto the properties created on it by the form, and does not use the new
ones
placed on it by mapi - any ideas? If I need a different approach please
tell
me. Thanks. Trev.




 




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
change default e-mail form Nader Outlook and VBA 8 May 10th 06 11:53 AM
mail message form missing dfrahlic Outlook - Using Forms 3 May 4th 06 06:58 PM
customize form with new mail using ? TimR Outlook - Using Contacts 1 February 27th 06 08:15 PM
FORM MAIL IN OUTLOOK djlight Outlook - General Queries 1 February 25th 06 04:31 PM
opening new mail message form Melbin Outlook - Using Forms 1 January 24th 06 01:17 PM


All times are GMT +1. The time now is 03:14 PM.


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