Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Depending on what you want, the answer is you cannot do it.</p> <p>If you want to "import" the ics file you cannot do it alone, you would need for example redemption see here <a href="http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/4755d727-43db-4a04-8822-f0262b5d0fbb/" rel="nofollow">Visual Studio Forum</a> Because MS moves their links often here is a quote from there</p> <blockquote> <p>“Outlook has no built-in methods to import an ICS file into a calendar item using code. However, a 3rd party library called Redemption (www.dimastr.com/redemption) does have that ability. The SafeAppointmentItem.Import function is called with a file path and item type. So if it's called with the file path where you saved the attachment and a type of 7 (olVCal) you can do what you want. “ Original link is:http://groups.google.co.uk/group/microsoft.public.office.developer.outlook.vba/browse_thread/thread/e4656ad0c5b68b89/d356ce07aeae783d?hl=en&amp;lnk=st&amp;q=import+.ics+file+into+outlook+by+codes#d356ce07aeae783d</p> </blockquote> <p>So what are you options or what else can you do.</p> <p>First I assume you are working in something like the application_startup event.</p> <p>you could "shell" the file - which would have the same effect as double clicking on it.</p> <p>see here <a href="http://msdn.microsoft.com/en-us/library/aa242087.aspx" rel="nofollow">MSDN shell with examples</a> For this you would need the path to your ics file.</p> <p>But for me in your position, I would be first trying to get the person or thing generating the ics file to change OR I would be just treating it like a text file, parsing the information (which should not be too hard given it is an expected format) and creating my own calendar item in outlook.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload