Where can I find C# examples?

J

John

Outlook 2003: I am trying to populate and access a listbox on a custom
form via COM from C# without using any code on the form. I can get and
retrieve information from a textbox using the UserProperties.Find
method by setting the Value property but cannot figure out how to get
at the list box. The Find method will find it but you cannot us it to
set up the list.

I have found examples using VBA from inside the form itself using the
Open_Item method and accessing the control via the
ModifiedFormPages("pagename").Controls.

Example :
Item.GetInspector.ModifiedFormPages("Test").Controls("CommandButton1").Caption
= "New Caption"

But, I do not know what the class of Item is in this call. When I try
it using a mailitem, I get errors saying the ModifiedFormPages is a
poperty and it expects a method.

Any help would be appreciated!

Thanks ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top