Mark McGinty
2010-06-22 05:26:35 UTC
Greets,
I'm using RDOUserPropery.Printable property to make it so our user-def props
don't print. (Sorry if that was redundant.) It works, but not until I have
restarted Outlook. I check the item's Modified property before changing
anything and log a warning if calling save doesn't set it to False. I do
the same thing again after changing it
Does this mean I'm leaking a reference somewhere? Hmm I see that if I
unload my AddIn the properties are hidden, that would seem to pretty-well
seal the diagnosis. (Damn I hate chasing leaks.)
More observations: items my AddIn creates using RDO (from database CRM)
don't have the problem... which makes perfect sense
One other thing I just noticed: for emails only, when my AddIn gets done
with one the Print Preview menu is disabled. At the moment it is *not*
setting the Printable property on them. How could it be able to print but
not preview an item? (The code is basically the same to do either, it's
just different device context.)
TIA,
MM
I'm using RDOUserPropery.Printable property to make it so our user-def props
don't print. (Sorry if that was redundant.) It works, but not until I have
restarted Outlook. I check the item's Modified property before changing
anything and log a warning if calling save doesn't set it to False. I do
the same thing again after changing it
Does this mean I'm leaking a reference somewhere? Hmm I see that if I
unload my AddIn the properties are hidden, that would seem to pretty-well
seal the diagnosis. (Damn I hate chasing leaks.)
More observations: items my AddIn creates using RDO (from database CRM)
don't have the problem... which makes perfect sense
One other thing I just noticed: for emails only, when my AddIn gets done
with one the Print Preview menu is disabled. At the moment it is *not*
setting the Printable property on them. How could it be able to print but
not preview an item? (The code is basically the same to do either, it's
just different device context.)
TIA,
MM