Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read only mail item
Message
From
21/05/2001 15:10:08
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
 
 
To
21/05/2001 14:33:57
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00509582
Message ID:
00509623
Views:
17
John,

Thanks for the reply. I am creating an Outlook application object and then creating a message object.

oOutlook = CREATEOBJECT('Outlook.Application')

oMessage = oOutlook.CreateItem(0) && (0) = item type 0 = mail item

I then add recipients, subject, message, etc. using outlook properties and methods. I then display the message using oMessage.Display or oMessage.GetInspector.Activate. I was hoping that I could set a property of the Inspector or the Message to make it read only.

I have seen VB threads with the following code:
oMessage.GetInspector.ModifiedFormPages('Page.2').textbox1.readonly = True

When I try something similar I get an error 'Memeber ModifiedPageForms does not evaluate to an object'. When I look at it in the locals window, it shows as an object, but with no members.

Thanks

John


>Hi John,
>
>Indirectly, yes. Show the Body of the text in an Editbox with ReadOnly set to .T.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform