Outlook View Control

  • Thread starter Alan N via OfficeKB.com
  • Start date
A

Alan N via OfficeKB.com

I am using the OVC on an Access form and would like to use command buttons to
change the view of the Calendar. i.e. Click the Month button and the OVC
changes to the Calendar Month view etc.

I can get it to view the Calendar but right now its just the last Calendar
view that Outlook used.

Any suggestions?
 
G

Guest

You'll have to set the ViewXML property for the View Control to the full XML
string that is slightly changed for each variation of the Day/Week/Month
view. I would save the different XML values to a file and read them into the
ViewXML property for every command button click. You can get these values
using Outlook Spy, or by calling the ActiveExplorer.CurrentView.XML property
once for every view variation.
 

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