Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / August 2004

Tip: Looking for answers? Try searching our database.

"Message" control (Field Chooser - All Post Fields)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew - 03 Aug 2004 14:32 GMT
I have to use "Message" control in my Post Form. After
saving/posting this form and opening it again I don't have
access to this control. It is not editable. Moreover I
have put cod for such permission (editable/not editable)
in to my application. I use Outlook 2003.
//--------------------------------------------------
Set MessagePage = Item.GetInspector.ModifiedFormPages
("Message")
Set MessageControl = MessagePage.Controls("Message")
MessageControl.ReadOnly = True

Does not help me :-(((
//--------------------------------------------------
How can I do it???
Sue Mosher [MVP-Outlook] - 03 Aug 2004 15:25 GMT
Does it work if you use the Edit | Revise Contents command? What folder are
you posting in.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> I have to use "Message" control in my Post Form. After
> saving/posting this form and opening it again I don't have
[quoted text clipped - 10 lines]
> //--------------------------------------------------
> How can I do it???
Andrew - 04 Aug 2004 13:49 GMT
When I do Edit | Revise Contents command it gives access
to all folders wich are ReadOnly and it is not the way of
solving the problem. I'm posting ComboBoxs, CheckBoxs,
OptionButtons, Frames, Subject, Calendar and MESSAGE
Control. All of them a can control but Message control
not. Some users must have access to this control only for
reading and opening attachments and other users must
read/write text, add/delete attachments.

What do you think, Wicrosoft can help me or not???
(I have already some problem with my manager)
>-----Original Message-----
>Does it work if you use the Edit | Revise Contents command? What folder are
[quoted text clipped - 16 lines]
>
>.
Sue Mosher [MVP-Outlook] - 04 Aug 2004 14:28 GMT
I don't know what you mean by "all folders which are readonly" in this
context.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> When I do Edit | Revise Contents command it gives access
> to all folders wich are ReadOnly and it is not the way of
[quoted text clipped - 7 lines]
> What do you think, Wicrosoft can help me or not???
> (I have already some problem with my manager)

> >> I have to use "Message" control in my Post Form. After
> >> saving/posting this form and opening it again I don't
[quoted text clipped - 13 lines]
> >
> >.
Andrew - 04 Aug 2004 14:59 GMT
Sorry!!! I mean, if control has property Read Only, user
can read it not write. I have controls with different
properties in the same time. One of them user can only
read another read and write. If I do Edit|Revise Contents
command it gives access (write) to all controls. I need
such access only for MESSAGE CONTROL.
>-----Original Message-----
>I don't know what you mean by "all folders which are readonly" in this
[quoted text clipped - 31 lines]
>
>.
Sue Mosher [MVP-Outlook] - 04 Aug 2004 15:48 GMT
I would try executing Edit | Revise Contents programmatically when the item
opens, using CommandBars -- see
http://www.outlookcode.com/d/tips/commandbarfun.htm. Then set the ReadOnly
property of the controls you want to lock.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Sorry!!! I mean, if control has property Read Only, user
> can read it not write. I have controls with different
> properties in the same time. One of them user can only
> read another read and write. If I do Edit|Revise Contents
> command it gives access (write) to all controls. I need
> such access only for MESSAGE CONTROL.

> >"Andrew" <anonymous@discussions.microsoft.com> wrote in
> message
[quoted text clipped - 35 lines]
> >
> >.
Andrew - 04 Aug 2004 16:15 GMT
Thank you so much!!! I'll try.
>-----Original Message-----
>I would try executing Edit | Revise Contents programmatically when the item
[quoted text clipped - 50 lines]
>
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.