Task Read/Compose Mode

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

Jason Reis

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

Jason Reis

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.
 

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