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

A

Andrew

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???
 
S

Sue Mosher [MVP-Outlook]

Does it work if you use the Edit | Revise Contents command? What folder are
you posting in.
 
A

Andrew

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)
 
S

Sue Mosher [MVP-Outlook]

I don't know what you mean by "all folders which are readonly" in this
context.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

Andrew

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.
 
S

Sue Mosher [MVP-Outlook]

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.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

Andrew

Thank you so much!!! I'll try.
-----Original Message-----
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.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers






.
 

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