Nice snippet, Mike.
But just for interest: did you ever try to get this code to run in an
ASP.NET application?
Of course I mean after having done all of the necessary security
settings ... I still keep getting (on N machines) a timeout when trying
to connect to the outlook.exe DCOM server.

Any ideas about this?

Cheers,
Christian
---------------------------------
  .NET XML Web Services Repertory
   http://www.xmlwebservices.cc/
---------------------------------

Mike Timms wrote:
> The following VB.NET code fragment prints all the holidays registered in
> the default Outlook Calendar folder for a specific country and year in date
> sequence. The values in the restrict string probably need to be adjusted to
> reflect the specific local language setting for the client.
> You can check the LanguageSettings property of the Outlook Application
> object to determine this. It was tested on Outlook 2002 but should also
> work on other versions.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to