How to code with a shared calendar?

N

Normand

Hi,

I’m actually working on a project where I need to automate actions on both
Outlook/exchange versions 2003 and 2007 shared web calendars.

My goal is to display a web version of an shared calendar and add a meeting
with a script to a shared calendar.

Here follows what I have done so far but with relatively no success:

out = new ActiveXObject( "Outlook.Application" );

appt = out.CreateItem( olAppointmentItem );
appt.Subject = "rendez-vous";
appt.Location = "dans la salle X";
appt.Start = "07/25/2008 10:00 AM";
appt.end = "07/25/2008 11:30 AM";
appt.body = "Unrendez-vous X";
appt.Attachments.add("C:\\Users\\nlemay\\Documents\\bob.txt",1, 1, "test");
appt.ReminderMinutesBeforeStart = "15";
appt.save();

I use that code to see my calendar :
<OBJECT classid=CLSID:0006F063-0000-0000-C000-000000000046
id=ViewCtlFolder width="50%" height="100%">
<param name="Folder" value="\\Boîte aux lettres - Normand
Lemay\Calendrier">
<param name="Namespace" value="MAPI">
</OBJECT>


Your help would be greatly appreciated.

Normand
 
B

Brian Tillman

Normand said:
I’m actually working on a project where I need to automate actions on
both Outlook/exchange versions 2003 and 2007 shared web calendars.

Coding questions belong in microsoft.public.outlook.program_vba or
..program_addins
 
M

Milly Staples [MVP - Outlook]

Best posted to microsoft.public.outlook.program_vba where the developers
hang out. You will get a faster and more expert answer there.

--
Milly Staples [MVP - Outlook]

Post all replies to the group to keep the discussion intact.
How to ask a question: http://support.microsoft.com/KB/555375


After furious head scratching, Normand asked:

| Hi,
|
| I’m actually working on a project where I need to automate actions
| on both Outlook/exchange versions 2003 and 2007 shared web calendars.
|
| My goal is to display a web version of an shared calendar and add a
| meeting with a script to a shared calendar.
|
| Here follows what I have done so far but with relatively no success:
|
| out = new ActiveXObject( "Outlook.Application" );
|
| appt = out.CreateItem( olAppointmentItem );
| appt.Subject = "rendez-vous";
| appt.Location = "dans la salle X";
| appt.Start = "07/25/2008 10:00 AM";
| appt.end = "07/25/2008 11:30 AM";
| appt.body = "Unrendez-vous X";
| appt.Attachments.add("C:\\Users\\nlemay\\Documents\\bob.txt",1, 1,
| "test"); appt.ReminderMinutesBeforeStart = "15";
| appt.save();
|
| I use that code to see my calendar :
| <OBJECT classid=CLSID:0006F063-0000-0000-C000-000000000046
| id=ViewCtlFolder width="50%" height="100%">
| <param name="Folder" value="\\Boîte aux lettres - Normand
| Lemay\Calendrier">
| <param name="Namespace" value="MAPI">
| </OBJECT>
|
|
| Your help would be greatly appreciated.
|
| Normand
 

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