Custom field

  • Thread starter Thread starter Mark Smith
  • Start date Start date
Try either switching to another view or switching to another folder and then back again.
 
Thank you Sue for all of your help.
How can I get the UserProperty back off the ContactItem??
Also what books would you recommend for learning this little things with
C# and Outlook programming?

Thanks
 
yes.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I'm not sure what you mean by "get ... back off." myItem.UserProperties("name of property") returns the property value.

There are no books on C# and Outlook programming, but there is a lot of sample code and some knowledgeable people at my site (see signature).
 
Hi Sue, I am having issues installing my outlook addin on client
machines. It seems to install but does not show up in outlook.
Do you have any ideas?
Thanks,
Rog
 
Did you check the registry? The disabled items list in Help | About Microsoft Outlook?
 
Hi Sue, you may know the answer to this. I start a new thread in the
outlook addin, but when I shutdown outlook the outlook.exe process is
still running. I assume that thread does not die. I do thread.Abort(),
but that does not do it. Do you have any insight?
Rog
 
I am thread ignorant. (really) My guess, though, is that you haven't cleaned up all the objects used in that thread.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Thanks Sue,
System.Runtime.InteropServices.Marshal.ReleaseComObject(outlookcomobj);
is the answer...
Rog
 
Hi Sue, I have two more questions for you.
1) When I add the custom field in outlook through view.XML, I have to
restart outlook before I can see my fields in the view. Any ideas?
2) I see there is a private checkbox for contacts and meetings, how can
I access that programmtically to determine whether a contact is private
or not?
Thanks,
Rog
 
1) Instead of restarting, try switching to another view and back again or to another folder and back.

2) Use the Sensitivity property.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Application.ActiveExplorer.CurrentFolder

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Thanks Sue,
I tried to create an exe that I can run from my installation which will
create the view before the user even tries to open the add-in. It is
not an addin, but just an exe that uses Outlook.ApplicationClass. But
when the exe is done, one of two things happens, either Outlook.exe is
still running or I get mscorlib Int32 ReleaseComObject nullpointer
exception.
Any ideas?
Thanks
 
Back
Top