View Single Post
  #7  
Old September 2nd 08, 06:19 PM posted to microsoft.public.outlook.program_addins
Doobs
external usenet poster
 
Posts: 3
Default Displaying custom fields

Thanks Sue. I'm using a form region now, as described in the
walkthrough, and i have the "Hello World" type example working fine.

What I can't manage to work out is how to modify the controls on the
form region from within my main addin code. I'm working in c# by the
way.

All I want to do is change the caption of a label field or the text of
a textbox, but I don't seem to be able to reference these controls
from my addin code. I must be missing something in the examples.

On Sep 1, 9:18*pm, Sue Mosher [MVP-Outlook]
wrote:
Outlook 2007's new forms region feature would be a good fit with what you're
add-in is doing so far. Seehttp://www.outlookcode.com/news.aspx?id=22to get
started.
--
Sue Mosher, Outlook MVP
* *Author of Microsoft Outlook Programming: Jumpstart
* * * for Administrators, Power Users, and Developers
* * *http://www.outlookcode.com/jumpstart.aspx

"Doobs" wrote:
I now have this working fine, using a combination of Redemption and
the Outlook Object Model. Myissue now is that when I open a message, I
would like the additional fields to be displayed in the form.


Is there a way to amend the form in code, rather than creating and
deploying a custom form and associating it with the custom message
class? There seems to be a vast amount of info out there on custom
forms, but i'm having trouble finding examples of exactly what I want
to do.


On Aug 29, 3:26 pm, wrote:
Thanks Sue. It is OL2007 i'm targetting, and i'm well on my way now.
I'm creating the folder in question at run time, so all I have to do
now is set the view after creating the folder and i'm there.


Ads