PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming Displaying an item in Outlook View Control

Reply

Displaying an item in Outlook View Control

 
Thread Tools Rate Thread
Old 08-07-2003, 09:40 PM   #1
Michael Williamson
Guest
 
Posts: n/a
Default Displaying an item in Outlook View Control


Is it possible to display a single item in the Outlook View Control?
Basically my problem is that I have a customized contact form, and a
customized task form. On the third page of the contact form there is
a View Control which displays all the tasks associated with this
contact. Both forms work fine, but my boss would like to have the
task form embedded on the contact and update when an item is selected
from the View Control. I also need to be able to edit and save the
item. Ideally, I would like to eliminate the code duplication, so
displaying the item in a view control seems like the best method.
However, if this is not possible I will duplicate (or at least scale
down) the task form onto the contact form. My concern about this
solution is the notes field. I need to be able to at least save it
with-out losing existing formatting. I don't think this is possible
if I copy it in and out of a text control. One more stipulation is
that all components used must be part of Windows 2000/IE6, Office 2000
or Outlook 2002.

Thanks for your time and your support,

-- Michael.
  Reply With Quote
Old 09-07-2003, 12:51 PM   #2
Sue Mosher [MVP]
Guest
 
Posts: n/a
Default Re: Displaying an item in Outlook View Control

No. The OVC, as its name suggests, displays folder views, not individual items. To transfer the fully formatted RTF Body, you'll need to use either CDO and a special .dll or Redemption, which means you can't do it under your constraints.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm

"Michael Williamson" <mwilliamson@crestline.ca> wrote in message news:8668e225.0307081340.361482e9@posting.google.com...
> Is it possible to display a single item in the Outlook View Control?
> Basically my problem is that I have a customized contact form, and a
> customized task form. On the third page of the contact form there is
> a View Control which displays all the tasks associated with this
> contact. Both forms work fine, but my boss would like to have the
> task form embedded on the contact and update when an item is selected
> from the View Control. I also need to be able to edit and save the
> item. Ideally, I would like to eliminate the code duplication, so
> displaying the item in a view control seems like the best method.
> However, if this is not possible I will duplicate (or at least scale
> down) the task form onto the contact form. My concern about this
> solution is the notes field. I need to be able to at least save it
> with-out losing existing formatting. I don't think this is possible
> if I copy it in and out of a text control. One more stipulation is
> that all components used must be part of Windows 2000/IE6, Office 2000
> or Outlook 2002.
>
> Thanks for your time and your support,
>
> -- Michael.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off