Information générale
Catégorie:
COM/DCOM et 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.
>
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement