PC Review


Reply
Thread Tools Rate Thread

Where can I find C# examples?

 
 
John
Guest
Posts: n/a
 
      5th Apr 2005
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 ...

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Range.Find examples Howard31 Microsoft Excel Programming 6 16th Feb 2009 10:08 AM
I can't find templates examples =?Utf-8?B?YWJ1cmtleQ==?= Microsoft Word Document Management 0 17th Aug 2006 12:32 AM
how do i find examples of pleadings? =?Utf-8?B?Y29ubmll?= Microsoft Word Document Management 1 16th Jan 2006 07:52 AM
Where to find good examples? Peter Noneley Microsoft Powerpoint 0 7th Oct 2003 02:49 PM
WinInet and C# . Where to find examples? netuser Microsoft C# .NET 2 19th Aug 2003 08:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:18 PM.