(Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog?

Status
Not open for further replies.
R

ryotyankou

I search through google, found that propertychange can monitor them, but

couldn't get fired if addresses were deleted, that's not very good. I noticed

that some post say use CustomPropertyChange can process deletion for e-mail

addresses, i saw some posts but still have no ideas about how to use it, Can

someone give a short brief on how to use CustomPropertyChange or give me some

links? Thanks.

 
K

Ken Slovak - [MVP - Outlook]

You use CustomPropertyChange() exactly the same way you'd use

PropertyChange(), there's no difference. You get the name of the custom

property that's being changed. However that won't help you since what you

want to look at is not a custom property.

"ryotyankou " <u48591@uwe> wrote in message

news:9b35dce2a4733@uwe...
> I search through google, found that propertychange can monitor them, but
> couldn't get fired if addresses were deleted, that's not very good. I
> noticed
> that some post say use CustomPropertyChange can process deletion for
> e-mail
> addresses, i saw some posts but still have no ideas about how to use it,
> Can
> someone give a short brief on how to use CustomPropertyChange or give me
> some
> links? Thanks.

> >
>
 
R

ryotyankou

Hi, ken, I dispatched MailItem, PropertyChange can be fired. But

CustomPropertyChange is not fire. Should i make a form or modify the default

message form, in a word, i don't know how to make CustomPropertyChange event

get contact with To/CC/BCC field.
- wrote:
> You use CustomPropertyChange() exactly the same way you'd use
> PropertyChange(), there's no difference. You get the name of the custom
> property that's being changed. However that won't help you since what you
> want to look at is not a custom property.
>
> >I search through google, found that propertychange can monitor them, but
> > couldn't get fired if addresses were deleted, that's not very good. I

> [quoted text clipped - 6 lines]
> > some
> > links? Thanks.



200908
 
R

ryotyankou

Do you mean that the build-in properties can not be changed or repurpose or

something like that?

Do you mean that CustomPropertyChange only use for controls on custom form?

Then how could i detect deletion of e-mail addresses in to/cc/bcc fields?
- wrote:
> You use CustomPropertyChange() exactly the same way you'd use
> PropertyChange(), there's no difference. You get the name of the custom
> property that's being changed. However that won't help you since what you
> want to look at is not a custom property.
>
> >I search through google, found that propertychange can monitor them, but
> > couldn't get fired if addresses were deleted, that's not very good. I

> [quoted text clipped - 6 lines]
> > some
> > links? Thanks.



200908
 
K

Ken Slovak - [MVP - Outlook]

I mean exactly that a built-in field will not fire CustomPropertyChange()

since it's not a custom property. The name tells you exactly what it's for.

Built-in properties fire PropertyChange(), custom ones fire

CustomPropertyChange(). It's very logical.

PropertyChange() should fire if To, Cc or Bcc are changed.

"ryotyankou " <u48591@uwe> wrote in message

news:9b402d4cac935@uwe...
> Do you mean that the build-in properties can not be changed or repurpose
> or
> something like that?
> Do you mean that CustomPropertyChange only use for controls on custom
> form?
> Then how could i detect deletion of e-mail addresses in to/cc/bcc fields?
 
R

ryotyankou

PropertyChange could not be fired if e-mail addresses were deleted, how could

i detect the deletion then? All i wanted is to detect this.
- wrote:
> I mean exactly that a built-in field will not fire CustomPropertyChange()
> since it's not a custom property. The name tells you exactly what it's for.
> Built-in properties fire PropertyChange(), custom ones fire
> CustomPropertyChange(). It's very logical.

> PropertyChange() should fire if To, Cc or Bcc are changed.
>
> > Do you mean that the build-in properties can not be changed or repurpose
> > or
> > something like that?
> > Do you mean that CustomPropertyChange only use for controls on custom
> > form?
> > Then how could i detect deletion of e-mail addresses in to/cc/bcc fields?


 
K

Ken Slovak - [MVP - Outlook]

To, Cc and Bcc will change and fire that event if the item is saved after

the recipients are removed. You can also check the count of the Recipients

collection at intervals or in specific event handlers, and you can check the

Items.Change() event, but that would also require a saved item.

"ryotyankou " <u48591@uwe> wrote in message

news:9b4c4898c11e6@uwe...
> PropertyChange could not be fired if e-mail addresses were deleted, how
> could
> i detect the deletion then? All i wanted is to detect this.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
T Using Outlook 2010 in Outlook2003 as backup ? Using Outlook 21
T How to Cancel a queued addon installation on Outlook2003 Launch Outlook VBA and Custom Forms 1
R Help, Outlook2003 won't quit after call OnDisconnection? Outlook VBA and Custom Forms 3
B Vba to monitor time to respond to emails using a shared mailbox Outlook VBA and Custom Forms 5
Diane Poremsky Monitor secondary mailbox folder for new messages Using Outlook 0
R Can BCM monitor and select specific emails and use content info to update the client's record? BCM (Business Contact Manager) 1
D Monitor any changes to a sub-folder Outlook VBA and Custom Forms 4
M Monitor Meeting Acceptances Using Outlook 1
L Theme changing when 2nd monitor Using Outlook 3
U How to monitor folder Outlook VBA and Custom Forms 2
S Change "This Week" flag start date behavior Using Outlook 1
N Help creating a VBA macro with conditional formatting to change the font color of all external emails to red Outlook VBA and Custom Forms 5
D Change Microsoft Account password - what to do to update on all devices Using Outlook 4
S Outlook 2016 Change how Outlook shows me contacts in emails Using Outlook 0
witzker HowTo Change message Class of contact form Outlook VBA and Custom Forms 0
Z Outlook 365 delete reminder you can’t make change to contents of this-read only folder Using Outlook 4
witzker Pls help to change the code for inserting date in Ol contact body Outlook VBA and Custom Forms 5
R How to Change Margins In Google Docs...? Using Outlook 0
e_a_g_l_e_p_i Outlook 2010 How can I change the font size on right side appointment pane Using Outlook 12
diver864 vba for a rule to automatically accept meeting requests with 'vacation' in subject, change to all-day event, change to free, don't send reply Outlook VBA and Custom Forms 1
B Change Font and Font size using VBA Outlook VBA and Custom Forms 9
D Change senders title Using Outlook 1
W Recurrence: delete older occurrences / change earliest start time Outlook VBA and Custom Forms 0
E Change sending account depending on Subjectline Outlook VBA and Custom Forms 0
J Outlook 2013 Change color of text in data fields of contacts in Outlook 2013? Using Outlook 10
B Change row background color of selected item Using Outlook 1
PGSystemTester VBA To Change AppointmentItem.BusyStatus From MeetingItem Before Send Using Outlook 0
B Change from Address Outlook VBA and Custom Forms 0
X If you change expiration date of repeated task it dupplicates Using Outlook 1
E How to display "Change Folder" in Change Default Email Delivery Location in Exchange Outlook 2016 Using Outlook 1
Z See "Change View" Drop Down as a List? Using Outlook 1
V Change start time based on message duration Outlook VBA and Custom Forms 2
R Folder pane width change Using Outlook 83
S Change VBA script to send HTML email instead of text Outlook VBA and Custom Forms 3
S Outlook 2010 unable to change default font Using Outlook 7
P How can I change my calendar view back Using Outlook 3
A Edit subject - and change conversationTopic - using VBA and redemption Outlook VBA and Custom Forms 2
T Change the selected Message in the Outlook window Outlook VBA and Custom Forms 2
geofferyh How to change the Attachment File Name? Outlook VBA and Custom Forms 1
W Appointment occurrences change the location property Using Outlook 0
T Scheduled footer change Using Outlook 2
B Change font of reminder of an email header Outlook VBA and Custom Forms 3
CWM030 Name Change? Exchange Server Administration 9
V not able to change name in customize Ribbon Outlook VBA and Custom Forms 1
JoeG Appointment Delete/Change Recurrence Outlook VBA and Custom Forms 0
C Change Subject Line in Selected Emails Outlook VBA and Custom Forms 1
V Change default default save location to Quick Access Using Outlook 1
C Change default "Save Sent Item To" folder Outlook VBA and Custom Forms 9
S Example VBA Macro - To Conditionally Change the From Account and Add a BCC Address on Emails Outlook VBA and Custom Forms 11
B Do not change the From address in Outlook Templates Using Outlook 0

Similar threads

Top