General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only