![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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] |
#2
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
Thanks to all,
Roman |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 07: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 |