Accessing calendar and appointments with VBScript


How can I access calendar to get certain appointment attendees using VBScript?

I can't use MAPI/CDOEX because it can't be installed on the machine where script is running. So I can see that only WebDAV meets the requirements. It's kind of complex though, could you provide me with some code/hints connected with accessing the appointments in Exchange?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tomecktomeckAuthor Commented:
Wow, thanks, that indeed helps.

This URL:

What kind of permissions do I need to have? Administrator permissions, or calendar owner's permission?
tomecktomeckAuthor Commented:
Well, it seems that the only problem left is this URL:


When I am trying to open it in a browser it throws out a credential window, however credentials of the USER don't work.

If I am to use it via a script, it gives me:

<div id="content">
 <div class="content-container"><fieldset>
  <h2>404 - File or directory not found.</h2>
  <h3>The resource you are looking for might have been removed, had its name cha
nged, or is temporarily unavailable.</h3>

What's the rule in creating this URL? Do I need to put some kind of a path to the calendar I am interested in? Where do I get it from?
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

The URL may be
sometimes, E2003 wants the SMTP address, rather than the mailbox alias.
tomecktomeckAuthor Commented:
I ended up using Exchange Web Services - previously I thought it's impossible to use it via VBScript. And the URL is different in Exchange 2007 - thanks for help anyway!
You can still use the Exchange VDir for WebDAV access even in E2007 (it's there for backward compatibility), but EWS is much better, if you are able to use that.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Sharing Software

From novice to tech pro — start learning today.