Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Developer Outlook Addins > contact form fo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1677 of 1746
Post > Topic >>

contact form force not dirty

by sublimese <kelly@[EMAIL PROTECTED] > Apr 29, 2008 at 03:14 PM

I am having an issue that I am wondering if anyone can shed some light
on.
I have customized an outlook contact form by making the second tab "P.
2" visible, then adding additional controls to it.  I have code in the
Item_Open event on the contact form that sets the visible text of the
tab with code similar to:

dim objPages
dim objPage
set objPages = item.getinspector.modifiedformpages
set objPage = objPages(1)

objPage.Name = NewValue

however this line of code causes the Contact form to become "dirty".

For example, if I open a contact, then immediately after the contact
opens I close the contact, Outlook tells me that data has changed and
asks if I want to save my changes.

If I remove "objPage.Name = NewValue" from the Item_Open event, when I
open a contact and immediately close it, it just closes and I am not
prompted to save.

Is there a way to dynamically set the visible text of the tab on a
contact form without causing the contact form to become "dirty"?  Or
failing that is there a way to tell the contact form that it is not
"dirty" without saving the contact form?

This is occurring on both Outlook 2003 and Outlook 2007.
The code in question is running on the Outlook Contact form, but there
is also an addin involved if there is a way to accomplish the
necessary task from the addin.

If there is no way to accomplish this task using the Outlook form or
with an addin, is it possible to do it through any level of code c++,
exchange client extension, etc...

Thank you
 




 1 Posts in Topic:
contact form force not dirty
sublimese <kelly@[EMAI  2008-04-29 15:14:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 14:52:40 CST 2008.