S
sanjeev
I am trying to publish a Calender for a specific user online. I would like to
show all of the events that have been setup for this user on the calender
that is rendered without giving any of the users who are viewing it the right
to Edit existing or Add new events. I have tried changing some of the
properties of the calender but without any success. Would appreciate if
someone could help. Below is the code that is showing the calender:
<html>
<head>
<script langauge="javascript">
function changeView(strUserName){
var olFolderCalendar = 9;
var viewCtlFolder = document.getElementById('ViewCtlFolder');
viewCtlFolder.OpenSharedDefaultFolder(strUserName, olFolderCalendar);
}
</script>
<SCRIPT language=VBScript>
Sub Window_onLoad()
ViewCtlFolder.Folder = "Calendar"
ViewCtlFolder.Namespace = "MAPI"
ViewCtlFolder.Restriction = ""
ViewCtlFolder.DeferUpdate = "True"
ViewCtlFolder.contentEditable = "FALSE"
End Sub
</SCRIPT>
</head>
<body>
<object classid="CLSID:0006F063-0000-0000-C000-000000000046" width="100%"
height="80%" id="ViewCtlFolder"
codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
</object>
<select name="namePicker" id="namePicker"
onchange="changeView(this.options(this.selectedIndex).value);">
<option value="">Select...</option>
<option value="Username">Conference Room</option>
<option value="Username">Show Room</option>
</select>
</body>
</html>
show all of the events that have been setup for this user on the calender
that is rendered without giving any of the users who are viewing it the right
to Edit existing or Add new events. I have tried changing some of the
properties of the calender but without any success. Would appreciate if
someone could help. Below is the code that is showing the calender:
<html>
<head>
<script langauge="javascript">
function changeView(strUserName){
var olFolderCalendar = 9;
var viewCtlFolder = document.getElementById('ViewCtlFolder');
viewCtlFolder.OpenSharedDefaultFolder(strUserName, olFolderCalendar);
}
</script>
<SCRIPT language=VBScript>
Sub Window_onLoad()
ViewCtlFolder.Folder = "Calendar"
ViewCtlFolder.Namespace = "MAPI"
ViewCtlFolder.Restriction = ""
ViewCtlFolder.DeferUpdate = "True"
ViewCtlFolder.contentEditable = "FALSE"
End Sub
</SCRIPT>
</head>
<body>
<object classid="CLSID:0006F063-0000-0000-C000-000000000046" width="100%"
height="80%" id="ViewCtlFolder"
codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
</object>
<select name="namePicker" id="namePicker"
onchange="changeView(this.options(this.selectedIndex).value);">
<option value="">Select...</option>
<option value="Username">Conference Room</option>
<option value="Username">Show Room</option>
</select>
</body>
</html>