A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to open existing calendar event from .NET application?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 15th 08, 01:38 PM posted to microsoft.public.outlook.calendaring,microsoft.public.outlook.program_forms
Brian Tillman
external usenet poster
 
Posts: 17,452
Default How to open existing calendar event from .NET application?

robinbittner wrote:

I am developping a .NET windows forms application which cooperates
with Outlook 2003/2007. I know how to create an empty calendar event:
I create *.ics file and open it.
Now, I want to display existing calendar event in Outlook - how can I
do it from the .NET application?
I know the "uid", because I defined it in the *.ics file previously.


microsoft.public.outlook.program_forms may be a better place to ask this
programming question.
--
Brian Tillman [MVP-Outlook]

Ads
  #2  
Old July 15th 08, 02:47 PM posted to microsoft.public.outlook.calendaring,microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to open existing calendar event from .NET application?

Get a copy of Outlook Spy or MFCMAPI.exe so you can research whether Outlook
is actually storing the UID anywhere from your .ics file in a hidden MAPI
property. If it is, you can search for it using the DASL syntax with Restrict
method and the @SQL= prefix; http://www.outlookcode.com/news.aspx?id=30.
Whether that will actually work for that particular property is something
you'll have to test. If not, you can always fall back to using Outlook
Redemption.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Brian Tillman" wrote:

robinbittner wrote:

I am developping a .NET windows forms application which cooperates
with Outlook 2003/2007. I know how to create an empty calendar event:
I create *.ics file and open it.
Now, I want to display existing calendar event in Outlook - how can I
do it from the .NET application?
I know the "uid", because I defined it in the *.ics file previously.


  #3  
Old July 15th 08, 09:29 PM posted to microsoft.public.outlook.calendaring,microsoft.public.outlook.program_forms
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to open existing calendar event from .NET application?

Keep in mind that Outlook 2007 exposes that id as teh
AppointmentItem.GlobalAppointmentID property.
In teh previous version of Outlook, you can access it using Extended MAPI,
CDO 1.21 or Redemption:
http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/00030102

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Sue Mosher [MVP-Outlook]" wrote in message
...
Get a copy of Outlook Spy or MFCMAPI.exe so you can research whether
Outlook
is actually storing the UID anywhere from your .ics file in a hidden MAPI
property. If it is, you can search for it using the DASL syntax with
Restrict
method and the @SQL= prefix; http://www.outlookcode.com/news.aspx?id=30.
Whether that will actually work for that particular property is something
you'll have to test. If not, you can always fall back to using Outlook
Redemption.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Brian Tillman" wrote:

robinbittner wrote:

I am developping a .NET windows forms application which cooperates
with Outlook 2003/2007. I know how to create an empty calendar event:
I create *.ics file and open it.
Now, I want to display existing calendar event in Outlook - how can I
do it from the .NET application?
I know the "uid", because I defined it in the *.ics file previously.




  #4  
Old July 16th 08, 01:42 AM posted to microsoft.public.outlook.calendaring,microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to open existing calendar event from .NET application?

So GlobalAppointmentID picks up the UID from an iCalendar meeting request or
..ics attachment? That I didn't know. Thanks, Dmitry.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Dmitry Streblechenko" wrote:

Keep in mind that Outlook 2007 exposes that id as teh
AppointmentItem.GlobalAppointmentID property.
In teh previous version of Outlook, you can access it using Extended MAPI,
CDO 1.21 or Redemption:
http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/00030102


"Sue Mosher [MVP-Outlook]" wrote in message
...
Get a copy of Outlook Spy or MFCMAPI.exe so you can research whether
Outlook
is actually storing the UID anywhere from your .ics file in a hidden MAPI
property. If it is, you can search for it using the DASL syntax with
Restrict
method and the @SQL= prefix; http://www.outlookcode.com/news.aspx?id=30.
Whether that will actually work for that particular property is something
you'll have to test. If not, you can always fall back to using Outlook
Redemption.


robinbittner wrote:

I am developping a .NET windows forms application which cooperates
with Outlook 2003/2007. I know how to create an empty calendar event:
I create *.ics file and open it.
Now, I want to display existing calendar event in Outlook - how can I
do it from the .NET application?
I know the "uid", because I defined it in the *.ics file previously.


  #5  
Old July 16th 08, 07:20 AM posted to microsoft.public.outlook.calendaring,microsoft.public.outlook.program_forms
robinbittner
external usenet poster
 
Posts: 3
Default How to open existing calendar event from .NET application?

Thanks to all,
Roman
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open existing calendar event from .NET application? robinbittner Outlook - Calandaring 5 July 16th 08 07:20 AM
Cannot create new Calendar Event, only modify existing Seth Wilson Outlook - Calandaring 0 February 13th 07 08:11 PM
Cancelling Outlook.Application.ActiveExplorer.Close event? Nathan Add-ins for Outlook 1 September 8th 06 07:14 PM
I am unable to open existing or create new events within calendar joe f Outlook - Calandaring 0 July 25th 06 04:00 PM
How to write new calendar event from internet application? jhajko via OfficeKB.com Outlook - Calandaring 2 May 9th 06 03:56 PM


All times are GMT +1. The time now is 09:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.