Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook View Control's method OpenSharedDefaultFolder fails

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Greetings!
I have a need to display another peson's shared calendar on the web page via the Outlook View Control. The documentation suggests using the control's OpenSharedDefaultFolder with the person's nickname and folder ("Calendar" in my case).
I use this portion of code:

<object id=&quot;OVC&quot; width=&quot;100%&quot; height=&quot;100%&quot; classid=&quot;clsid:0006F063-0000-0000-C000-000000000046&quot; codebase=&quot; style=&quot;width:100%; height:100%;&quot;>
<param name=&quot;DeferUpdate&quot; value=&quot;False&quot;>
<param name=&quot;Folder&quot; value=&quot;Calendar&quot;>
<param name=&quot;Namespace&quot; value=&quot;MAPI&quot;>
<param name=&quot;Restriction&quot; value=&quot;&quot;>
<param name=&quot;View&quot; value=&quot;Day/Week/Month&quot;>
</object>

<script type=&quot;text/vbscript&quot; language=&quot;vbscript&quot;>
OVC.Folder = &quot;Calendar&quot;
'this line will produce an error
OVC.OpenSharedDefaultFolder &quot;msmallconf&quot;, 9
</script>

And, man, it doesn't work at all! Although the same operation through the Outlook itself executes smoothly.

Please, help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top