![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I created a form based off "New Message.oft" and used it outlook 2003. I found out that when I used the derived form instead of the original form, the following things break: 1. Rules that auto-forward broken: these rules do not. i.e., if I create a rule that automatically forwards some of the email received in the inbox, the rule does not fire. 2. Blue forwarded arrow missing. When I manually forward an email, the inspector says that the email has been forwarded but the blue arrow icon on the exporer is missing. Any ideas what is going on? My customers need to know. I do have a tiny amount of vb cpode in the forms. RK |
Ads |
#2
|
|||
|
|||
![]()
I presume you published this form and are not creating items from the ..oft file. (Code runs only on published forms.)
1) Don't know why what would happen. Might not be related to the form at all. 2) Sounds perfectly normal. Custom form items can show only one icon, the one set on the (Properties) page. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Rajesh K" wrote in message ... Hi, I created a form based off "New Message.oft" and used it outlook 2003. I found out that when I used the derived form instead of the original form, the following things break: 1. Rules that auto-forward broken: these rules do not. i.e., if I create a rule that automatically forwards some of the email received in the inbox, the rule does not fire. 2. Blue forwarded arrow missing. When I manually forward an email, the inspector says that the email has been forwarded but the blue arrow icon on the exporer is missing. Any ideas what is going on? My customers need to know. I do have a tiny amount of vb cpode in the forms. RK |
#3
|
|||
|
|||
![]()
Hi Sue,
I do publish the form. My form is named MyNewMessage.oft. The steps I take a 1. Set HKCU\Software\Microsoft\Office\[version]\Outlook\Custom Forms\Compose , IPM.Note = IPM.Note.MyNewMessage 2. I then publish the form calling MyPublishForm [code shown at the end]. 3. Set HKLM\Software\Microsoft\Office\[version]\Outlook\, value of ForceFormReload = 1 That should do it, I guess ... Any ideas ? Thanks RK Code for publishing a form: DWORD __stdcall MyPublishForm(LPSTR pszFormFileName, LPSTR pszName) { DWORD dwStatus; Outlook::_ApplicationPtr spApp("Outlook.Application"); if (spApp == NULL) { return -1; } Outlook::_NameSpacePtr pMAPI = spApp-GetNamespace("MAPI"); if (pMAPI == NULL) return -1; dwStatus = pMAPI-Logon("","",false,false); if (dwStatus != 0) return dwStatus; Outlook::_MailItemPtr pItem = spApp-CreateItemFromTemplate(pszFormFileName, vtMissing); if (pItem == NULL) return -1; Outlook::FormDescriptionPtr pFormDescr = pItem-FormDescription; pFormDescr-Name= pszName; dwStatus = pFormDescr-PublishForm(Outlook: ![]() return dwStatus; } === Code end. "Sue Mosher [MVP-Outlook]" wrote: I presume you published this form and are not creating items from the ..oft file. (Code runs only on published forms.) 1) Don't know why what would happen. Might not be related to the form at all. 2) Sounds perfectly normal. Custom form items can show only one icon, the one set on the (Properties) page. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Rajesh K" wrote in message ... Hi, I created a form based off "New Message.oft" and used it outlook 2003. I found out that when I used the derived form instead of the original form, the following things break: 1. Rules that auto-forward broken: these rules do not. i.e., if I create a rule that automatically forwards some of the email received in the inbox, the rule does not fire. 2. Blue forwarded arrow missing. When I manually forward an email, the inspector says that the email has been forwarded but the blue arrow icon on the exporer is missing. Any ideas what is going on? My customers need to know. I do have a tiny amount of vb cpode in the forms. RK |
#4
|
|||
|
|||
![]()
Using a published custom form as the default form for new messages is a very bad idea, all the way around. I don't know if that's related to the rules problem, but I would strongly suggest that you consider other solutions to whatever it is you're trying to accomplish with that custom form.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Rajesh K" wrote in message ... Hi Sue, I do publish the form. My form is named MyNewMessage.oft. The steps I take a 1. Set HKCU\Software\Microsoft\Office\[version]\Outlook\Custom Forms\Compose , IPM.Note = IPM.Note.MyNewMessage 2. I then publish the form calling MyPublishForm [code shown at the end]. 3. Set HKLM\Software\Microsoft\Office\[version]\Outlook\, value of ForceFormReload = 1 That should do it, I guess ... Any ideas ? Thanks RK Code for publishing a form: DWORD __stdcall MyPublishForm(LPSTR pszFormFileName, LPSTR pszName) { DWORD dwStatus; Outlook::_ApplicationPtr spApp("Outlook.Application"); if (spApp == NULL) { return -1; } Outlook::_NameSpacePtr pMAPI = spApp-GetNamespace("MAPI"); if (pMAPI == NULL) return -1; dwStatus = pMAPI-Logon("","",false,false); if (dwStatus != 0) return dwStatus; Outlook::_MailItemPtr pItem = spApp-CreateItemFromTemplate(pszFormFileName, vtMissing); if (pItem == NULL) return -1; Outlook::FormDescriptionPtr pFormDescr = pItem-FormDescription; pFormDescr-Name= pszName; dwStatus = pFormDescr-PublishForm(Outlook: ![]() return dwStatus; } === Code end. "Sue Mosher [MVP-Outlook]" wrote: I presume you published this form and are not creating items from the ...oft file. (Code runs only on published forms.) 1) Don't know why what would happen. Might not be related to the form at all. 2) Sounds perfectly normal. Custom form items can show only one icon, the one set on the (Properties) page. "Rajesh K" wrote in message ... Hi, I created a form based off "New Message.oft" and used it outlook 2003. I found out that when I used the derived form instead of the original form, the following things break: 1. Rules that auto-forward broken: these rules do not. i.e., if I create a rule that automatically forwards some of the email received in the inbox, the rule does not fire. 2. Blue forwarded arrow missing. When I manually forward an email, the inspector says that the email has been forwarded but the blue arrow icon on the exporer is missing. Any ideas what is going on? My customers need to know. I do have a tiny amount of vb cpode in the forms. RK |
#5
|
|||
|
|||
![]()
Agreed. I am using "other mechanisms" O2K7. In the older versions there were
interaction issues with other companies' addins and toolbars and we had customers complain about it. Being the smaller vendor, we were forced to use the suboptimal forms method for pre-o2k7. It works beautifully for most customers ... Except for the two issues ![]() Sigh .. Rajesh "Sue Mosher [MVP-Outlook]" wrote: Using a published custom form as the default form for new messages is a very bad idea, all the way around. I don't know if that's related to the rules problem, but I would strongly suggest that you consider other solutions to whatever it is you're trying to accomplish with that custom form. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Rajesh K" wrote in message ... Hi Sue, I do publish the form. My form is named MyNewMessage.oft. The steps I take a 1. Set HKCU\Software\Microsoft\Office\[version]\Outlook\Custom Forms\Compose , IPM.Note = IPM.Note.MyNewMessage 2. I then publish the form calling MyPublishForm [code shown at the end]. 3. Set HKLM\Software\Microsoft\Office\[version]\Outlook\, value of ForceFormReload = 1 That should do it, I guess ... Any ideas ? Thanks RK Code for publishing a form: DWORD __stdcall MyPublishForm(LPSTR pszFormFileName, LPSTR pszName) { DWORD dwStatus; Outlook::_ApplicationPtr spApp("Outlook.Application"); if (spApp == NULL) { return -1; } Outlook::_NameSpacePtr pMAPI = spApp-GetNamespace("MAPI"); if (pMAPI == NULL) return -1; dwStatus = pMAPI-Logon("","",false,false); if (dwStatus != 0) return dwStatus; Outlook::_MailItemPtr pItem = spApp-CreateItemFromTemplate(pszFormFileName, vtMissing); if (pItem == NULL) return -1; Outlook::FormDescriptionPtr pFormDescr = pItem-FormDescription; pFormDescr-Name= pszName; dwStatus = pFormDescr-PublishForm(Outlook: ![]() return dwStatus; } === Code end. "Sue Mosher [MVP-Outlook]" wrote: I presume you published this form and are not creating items from the ...oft file. (Code runs only on published forms.) 1) Don't know why what would happen. Might not be related to the form at all. 2) Sounds perfectly normal. Custom form items can show only one icon, the one set on the (Properties) page. "Rajesh K" wrote in message ... Hi, I created a form based off "New Message.oft" and used it outlook 2003. I found out that when I used the derived form instead of the original form, the following things break: 1. Rules that auto-forward broken: these rules do not. i.e., if I create a rule that automatically forwards some of the email received in the inbox, the rule does not fire. 2. Blue forwarded arrow missing. When I manually forward an email, the inspector says that the email has been forwarded but the blue arrow icon on the exporer is missing. Any ideas what is going on? My customers need to know. I do have a tiny amount of vb cpode in the forms. RK |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting automatic formatting and rules for a public calendar | fourmv | Outlook - Calandaring | 7 | July 26th 10 11:14 PM |
Transfer calander automatic formating rules between computers. | RWGT | Outlook - Calandaring | 6 | February 28th 07 03:12 AM |
Rules: No Forms to Choose | Texas Father | Outlook - Using Forms | 1 | October 20th 06 07:45 PM |
Calendar coloring automatic formatting rules disappear | Rick O | Outlook - Calandaring | 1 | May 24th 06 05:27 AM |
Automatic Formating for Custom Forms | CC | Outlook - Using Contacts | 1 | April 27th 06 08:15 AM |