Task Read/Compose Mode

  • Thread starter Thread starter Jason Reis
  • Start date Start date
J

Jason Reis

I've got VB code which creates a task containing a custom form. It's
working great actually, except for one thing. The forms are always in
compose mode and not in read mode. I'm using CDO 1.2.1 to accomplish
all of my code. I'd rather not have to do any Outlook automation. Is
there any way to set my task's custom form to read mode?

Thanks,
Jason.
 
Is there any way to make sure it ends up in read mode via
CDO code?

Thanks,
Jason.
-----Original Message-----
The layout displayed depends on (a) whether the form has
separate layouts in the first place and (b) whether task
is new and being opened for the first time or has been
saved and is being reopened.
 
Well, persistent digging through messages on google groups
paid off. I found one referencing the .Sent property of a
message. I found that it was set to False for all of my
new tasks. This caused the tasks to open in Compose
mode. I modified my code to set .Sent to False and
they're opening in Read mode now.

Thanks,
Jason.
 
Back
Top