Outlook view control

  • Thread starter Thread starter PeterQ
  • Start date Start date
P

PeterQ

hello Team,

I just started to use Outlook 2003 using VBA. I noticed that I could add
the Microsoft Outlook View Control to a Userform and create an Outlook
display of the inbox of any folder.
But I am missing some functionality in this control:

1.
I cannot display any other folders than the standard (inbox,outbox,sent
items, contacts, deleted items and so on). I would like to display the
contents of custom-created folders in this control.

2.
Every time the control view is displayed with a predefined set of fields
that I only can change manually after displaying in a dialog. Is this
not programmatically adjustable ?

Is there anybody that can give me some help on these issues please ?

Thanks in advice.

Peter
 
1) Set the Folder property to a string that contains the path to the folder.

2) Modify the ViewXML property.
 
hello Sue,

This novice is very thankful. Exactly what I am looking for. Thank you
very much.
Perhaps you (or anyone else) know(s) also if I can prevent the popup
menu in the Outlook to show up when the user presses the rightmouse
button in the Outlook View Control ?
I want to control the behaviour of this by using VBA.

Greetings.
Peter
 
Since Outlook doesn't expose the context menu at all, you'd probably have to
rely on lower level Windows techniques to suppress the context menu, if it's
possible (and I don't know how to do it if it is).
 
Back
Top