PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
How to set label text on custom form from com addin
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
How to set label text on custom form from com addin
![]() |
How to set label text on custom form from com addin |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I have to set the text property of the lable control placed on a custom form.
How do I access this from a com addin. C#, outlook 2003 and a published form are used. -- rgds, Jey |
|
|
|
#2 |
|
Guest
Posts: n/a
|
See http://www.outlookcode.com/d/propsyntax.htm#unbound
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Software Solutions" <SoftwareSolutions@discussions.microsoft.com> wrote in message news:F3E58674-1C70-42CC-B0A4-08D695F1D96C@microsoft.com... >I have to set the text property of the lable control placed on a custom >form. > How do I access this from a com addin. > > C#, outlook 2003 and a published form are used. > -- > rgds, > Jey |
|
|
|
#3 |
|
Guest
Posts: n/a
|
thanks for above 2 replies. This will help me change the form control's
properties at run-time. "Sue Mosher [MVP-Outlook]" wrote: > See http://www.outlookcode.com/d/propsyntax.htm#unbound > > -- > Sue Mosher, Outlook MVP > Author of > Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx > > > "Software Solutions" <SoftwareSolutions@discussions.microsoft.com> wrote in > message news:F3E58674-1C70-42CC-B0A4-08D695F1D96C@microsoft.com... > >I have to set the text property of the lable control placed on a custom > >form. > > How do I access this from a com addin. > > > > C#, outlook 2003 and a published form are used. > > -- > > rgds, > > Jey > > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
I am having a little trouble with casting the ModifiedPage object.
what is the actual object returned by this call? mailItem.GetInspector.ModifiedPages["message"] I couldn't find a suitable object to cast, so that I cna then get the control and then invoke the methods of that control. BTW, I am usnig C# to implement this code in a com addin. rgds, jey > "Sue Mosher [MVP-Outlook]" wrote: > > > See http://www.outlookcode.com/d/propsyntax.htm#unbound |
|
|
|
#5 |
|
Guest
Posts: n/a
|
A VB/VBA TypeName() expression shows the page returns as a UserForm object.
Outlook uses the Forms 2.0 object library (fm20.dll) for its custom forms. Maybe that will help. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Software Solutions" <SoftwareSolutions@discussions.microsoft.com> wrote in message news:A33E17E6-09AF-424D-BFC1-2C039F374F7D@microsoft.com... >I am having a little trouble with casting the ModifiedPage object. > what is the actual object returned by this call? > > mailItem.GetInspector.ModifiedPages["message"] > > I couldn't find a suitable object to cast, so that I cna then get the > control and then invoke the methods of that control. > > BTW, I am usnig C# to implement this code in a com addin. > > rgds, > jey > >> "Sue Mosher [MVP-Outlook]" wrote: >> >> > See http://www.outlookcode.com/d/propsyntax.htm#unbound > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

