Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
You can launch Calendar in a particular date/view if you invoke it using CreateProcess, and pass in the appropriate command-line switches. The following code example illustrates the generic form of the command.
Copy Code | |
---|---|
poutlook.exe calendar [-vx] [-dx] [-new] |
Parameters
- -vx
-
Specifies the view to display. xcan be:
a
=
Agenda View
d
=
Day View
w
=
Week View
m
=
Month View
y
=
Year View
l
=
Lunar View
- -dx
-
Specifies the date to view. xcan be either a date, or an offset in days. The date format is yyyymmdd. For example, -d20050102 represents 01/02/2005. The offset format is [-]x, where x ranges from -999 to 999. For example, -d-3 represents three days ago, and -d5 represents five days from now.
- -new
-
Opens an edit card for a new Appointment or Meeting Request.