Create ICS or VCS File

I would like to create an app that allows a user to enter date(s) then in return it creates an ICS or VCS file.
1. Im not sure what the difference is between the two files could anyone advise?
2. Where could i read up on this to achieve the task mentioned above?
3. Any code examples anyone could provide?
Thanks in advance.

Hello T-800,
Welcome to MSDN Forums!
For the details of ICS and VCS please refer to these link:
http://en.wikipedia.org/wiki/ICalendar
And they just a kind of file format, actually they are a text file which describe a appointment in some standard format, so I think your question is not related to VSTO, even Outlook, so, I think you are off-topic in this forum.
However, here's a blog article you could refer to :
http://weblogs.asp.net/bradvincent/archive/2008/01/16/creating-vcalendars-programmatically.aspx
Thanks.
Tim Li
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact [email protected]
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Similar Messages

  • Problem in opening .ics and .vcs file types through servlet in IE browser.

    I'm having problem in downloading an .ics and .vcs file through servlet in I.E browser. It is happening fine in Mozilla firefox(they both are getting opened in OutLook), but in IE it says as undefined file type.
    I'm using Content Type as : 'text/Calendar' and then setting header as :
    response().setContentType("text/Calendar");
    response().setContentLength(file.length());
    response().setHeader("Content-Disposition", "attachment;
    filename="+filepath);
    and after that i'm writing it to OutPut stream.
    Plz Help.

    Hi,
    On page load check whether the session values are there. If not redirect the user to the login page.
    Hope this helps,
    Regards,
    Sammani

  • .ics and .vcs files

    does anyone know of a free program other than outlook that I can download to open and manage .ics or .vcs files?

    Hi Kenny,
    The .ics file opens in iCal for me. The .vcs file opens as text. This is probably a mime type problem.
    You might want to try adding a htaccess file to your site including the following lines:
    AddType text/x-vCalendar .vcs
    AddType text/Calendar .ics
    Best wishes
    John M

  • Create Outlook Calendar VCS files

    Does anyone know if you can use Coldfusion to create a VCS or iCal file for outlook?  I want them to click on a link and it add to their Outlook calendar.  Can anyone help with this?

    See: http://www.cflib.org/udf/iCalUS
    --Nathan

  • Is there a way to generate an .ics or .vcs file from an APEX calendar?

    In our APEX application, we have a calendar that we would like to be able to give the users a link to download an appointment so that they can save it to their personal calendars. Is this available functionality?
    Thanks,
    Karla

    We also wanted to return it as a BLOB to make it easier to use as an attachment, so our end code looked like:
    FUNCTION ical_event (  
       p_summary         IN VARCHAR2  
    , p_organizer_name  IN VARCHAR2  
    , p_organizer_email IN VARCHAR2
    , p_description     IN VARCHAR2  
    , p_start_date      IN DATE 
    , p_end_date        IN DATE 
    , p_version         IN VARCHAR2 := NULL 
    , p_prodid          IN VARCHAR2 := NULL 
    , p_calscale        IN VARCHAR2 := NULL 
    , p_method          IN VARCHAR2 := NULL 
       RETURN BLOB  
    AS    
       l_retval VARCHAR2(32767);  
       l_lf CHAR(2) := CHR(13)||CHR(10);
       result      blob := EMPTY_BLOB;
    BEGIN 
       l_retval := '' 
          || 'BEGIN:VCALENDAR' || l_lf  
          || 'VERSION:' || NVL(p_version,'2.0') || l_lf  
          || 'PRODID:' || NVL(p_prodid,'-/FDIC//NONSGML ICAL_EVENT//EN') || l_lf  
          || 'CALSCALE:' || NVL(p_calscale,'GREGORIAN') || l_lf  
          || 'METHOD:' || NVL(p_method,'REQUEST') || l_lf  
          || 'BEGIN:VEVENT' || l_lf  
          || 'SUMMARY:' || p_summary || l_lf  
          || 'ORGANIZER;CN="' || p_organizer_name || '":MAILTO:' || p_organizer_email || l_lf  
          || 'DESCRIPTION:' || p_description || l_lf
          || 'DTSTART:' || TO_CHAR(p_start_date,'YYYYMMDD') || 'T' || TO_CHAR(p_start_date,'HH24MISS') || l_lf  
          || 'DTEND:' || TO_CHAR(p_end_date,'YYYYMMDD') || 'T' || TO_CHAR(p_end_date,'HH24MISS') || l_lf  
          || 'DTSTAMP:' || TO_CHAR(SYSDATE,'YYYYMMDD') || 'T' || TO_CHAR(SYSDATE,'HH24MISS') || l_lf  
          || 'UID:' || RAWTOHEX(SYS_GUID()) || '@fdic.gov' || l_lf  
          || 'STATUS:NEEDS-ACTION' ||  l_lf  
          || 'END:VEVENT' || l_lf  
          || 'END:VCALENDAR';  
        dbms_lob.createtemporary(result, TRUE);
        dbms_lob.open(result, dbms_lob.lob_readwrite);
        dbms_lob.writeappend(result, length(l_retval), utl_raw.cast_to_raw(l_retval));
        dbms_lob.close(result);
       RETURN result;  
    END ical_event;Edited by: Fairfax_Al on Apr 20, 2009 8:16 AM

  • How to create downloadable vcs file for a single event (not whole calendar)

    Is it possible to create a vcs file in ical that, like the reservation made on opentable, can be downloaded and opened in both ical and outlook? I've tried creating an event listing for website visitors to add to their calendar, but some of the outlook users have trouble with the ics file opening as a meeting, not an event, or opening as a complete calendar. Big problem. Any solution?

    How are you making the .ics file? What value has the METHOD: entry?
    AK

  • Mac renaming .vcs files to .ics files without prompting... Can I stop it?

    I use a site that takes my work schedule and generates a .vcs file that I can import into whatever scheduling program I want...
    When I download the file from the website on my PC, it saves it as a .vcs and everything is fine.
    When I do the exact same thing on my Mac, it renames the file to 'calendar.vcs.ics' and iCal complains that the file is bad and can't be imported. If I remove the .ics extension so the file is just 'calendar.vcs' iCal is able to import it just fine.
    Why is the Mac renaming the file when it gets downloads? How can I stop it? I've tried on 2 different G4 Minis with all the latest updates, and I can't find anything to stop it!
    Thanks in advance!
    Jeff
    G4 Mini   Mac OS X (10.4.9)  

    Welcome to Apple Discussions
    It sounds like the file originates as a .vcs file. The Mac is not renaming the file, per se. When downloaded, the Mac (iCal) will by default append the .ics extension since it's eventual home is iCal. Having the .vcs extension already in place prior to the DL is what makes things complicated. iCal will import either file extension, but not both appended.
    Although this example from the Apple Knowledge Base is not related, the resolution is probably the same, i.e. you need to manually remove the extension prior to the import into iCal.

  • When downloading .ics file safari auto convert it to .vcs file

    When downloading an .ics (event.ics) file from my site, safari on mac auto convert it to .vcs (event.ics.vcs) file. How can I stop it? Safari on Windows doesn't do this. I am new in Mac, please help.

    I wrote my code in Java, here is the code:
    aaRes.setHeader("Content-Disposition", "attachment;filename=\""
                                                                + "event.ics" + "\"");
                                            writeResponse(aaRes, "text/x-vCalendar", calendar.toString());

  • IOS 7 Calendar does not show appointments imported as VCS files in Microsoft Outlook / Exchange. Any solutions?

    iOS 7 Calendar does not show appointments imported as VCS files in Microsoft Outlook / Exchange in Windows 7. I discovered this when downloading itinerary.vcs files from Delta to mark flights in my calendar. The work around I found is as follows:
    Open the VCS file, this will create a Calendar entry in your Outlook,
    Open the created Outlook Calendar entry, go to File -> Save As and then select to save as ICS file.
    Delete original VCS-created appointment in your calendar to avoid multiple calendar.
    Open the re-saved ICS file.
    Appointment will now correctly synchronize with your iPhone iOS 7 calendar.
    If anyone has better alternatives to this process, please help out. Hopefully, Apple will fix this with the next iOS update.

    iOS 7 Calendar does not show appointments imported as VCS files in Microsoft Outlook / Exchange in Windows 7. I discovered this when downloading itinerary.vcs files from Delta to mark flights in my calendar. The work around I found is as follows:
    Open the VCS file, this will create a Calendar entry in your Outlook,
    Open the created Outlook Calendar entry, go to File -> Save As and then select to save as ICS file.
    Delete original VCS-created appointment in your calendar to avoid multiple calendar.
    Open the re-saved ICS file.
    Appointment will now correctly synchronize with your iPhone iOS 7 calendar.
    If anyone has better alternatives to this process, please help out. Hopefully, Apple will fix this with the next iOS update.

  • ICal unable to import this .vcs file

    I have tried various edits to this vcs file that a site I use generates but have not been able to have iCal successfully import the file. I get the error message when using "import a vCal file": "This calendar file is unreadable. No events have been added to your iCal Calendar." Any idea what I need to change to get iCal to import this vcs file ?
    BEGIN:VCALENDAR
    VERSION:2.0
    CALSCALE:GREGORIAN
    PRODID:-//Summer/Fitness//CalTool v1.0//EN
    METHOD:PUBLISH
    BEGIN:VEVENT
    UID:[email protected]
    DTSTART:20090720T104500Z
    DTEND:20090720T113000Z
    DTSTAMP:20090718T170523Z
    LOCATION:44th St. @ Lexington Ave.
    SUMMARY:Class Cycling
    DESCRIPTION: INSTRUCTOR: Jill M. [LEVEL: All Levels Welcome]
    TRANSP:OPAQUE
    SEQUENCE:0
    END:VEVENT
    BEGIN:VEVENT
    UID:[email protected]
    DTSTART:20090721T111500Z
    DTEND:20090721T114500Z
    DTSTAMP:20090718T170523Z
    LOCATION:44th St. @ Lexington Ave.
    SUMMARY:Race Training
    DESCRIPTION: INSTRUCTOR: Joe Schwartz [LEVEL: All Levels Welcome]
    TRANSP:OPAQUE
    SEQUENCE:1
    END:VEVENT
    BEGIN:VEVENT
    UID:[email protected]
    DTSTART:20090722T104500Z
    DTEND:20090722T113000Z
    DTSTAMP:20090718T170523Z
    LOCATION:43rd St. @ 5th Ave.
    SUMMARY:Class Cycling
    DESCRIPTION: INSTRUCTOR: Jill M. [LEVEL: All Levels Welcome]
    TRANSP:OPAQUE
    SEQUENCE:2
    END:VEVENT
    BEGIN:VEVENT
    UID:[email protected]
    DTSTART:20090723T104500Z
    DTEND:20090723T113000Z
    DTSTAMP:20090718T170523Z
    LOCATION:44th St. @ Lexington Ave.
    SUMMARY:Class Cycling
    DESCRIPTION: INSTRUCTOR: Joe Schwartz [LEVEL: All Levels Welcome]
    TRANSP:OPAQUE
    SEQUENCE:3
    END:VEVENT
    END:VCALENDAR

    I copied your text and saved it as a .ics file before dropping it on iCal. It added 4 new events, Monday-Thursday next week.
    AK

  • .vcs File Question

    Can someone please tell me how to export an event as a VCS file?
    I have a treo 750 that I am trying to send it to and when it receives the ics file it isn't able to read it, but I know that it can read the VCS file format...PLEASE HELP?!?!?!
    Thanks,
    Tessai
    Powerbook G4   Mac OS X (10.3.9)   ical 1.5.5

    Correct me if I'm wrong, but I don't think you can export as .vcs.
    If you're having syncing issues, then I recommend you purchase Missing Sync for Palm OS/Windows Mobile to sync iCal with your Treo. Have a look here http://www.markspace.com/
    Hope I could be of help.
    Happy New Year

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • Create a Site Definition file with Visual Web part in Visual Studio

    I tried to create a site definition file in Visual Studio 2013 and SharePoint 2013 by following the MSDN tutorial:
    Walkthrough: Create a Basic Site Definition Project. Near the end, I added a virtual web part control to the site definition and registered MyWebPartControls in the site definition's default ASPX page as written in the MSDN tutorial:
    Unfortunately, IntelliSense doesn't show any MyWebPartControls: tags, and VisualWebPart1 is highlighted with a warning “Element 'SMWebPart3' is not a known element. This can
    occur if there is a compilation error in the Web site, or the web.config file is missing.”
    Since it’s a warning, I went ahead to build and deploy the solution. However, when I used the site definition template to create a subsite, it returned a parser error:
    Unknown server tag 'MyWebPartControls:TestSiteDef1.VisualWebPart1'
    I spent half day researching and debugging, and finally solved the problem. The issue is on the registration line:
    <%@ Register Tagprefix="MyWebPartControls" Namespace="TestSiteDef.VisualWebPart1" Assembly="$SharePoint.Project.AssemblyFullName$" %>
    The $SharePoint.Project.AssemblyFullName$ is a replaceable parameter to provide values for SharePoint solution items whose actual values are not known at design time. Unfortunately, it does not find the right assembly name during the deployment. It should
    be replaced by the Assembly’s Strong Name. Here is how I fixed the problem step by step:
    In Solution Explorer, open the package node and double click Package.package
    Click Manifest tab in the Package.package.
    Copy the full assembly name in the package’s manifest. It may be similar like this:
              Assembly="TestSiteDef,
    Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    Back to the site definition’s default.aspx page, replace the
                     Assembly="$SharePoint.Project.AssemblyFullName"
    in the registration line with the copied text:
    Assembly="TestSiteDef,
    Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    Change the Namespace from
    Namespace="TestSiteDef.VisualWebPart1"
    to
    Namespace="TestSiteDef".
    The line to register the web part in a site definition file will look like this:
    <%@
    Register
    Tagprefix="MyWebPartControls"
    Namespace="TestSiteDef "
    Assembly="TestSiteDef, Version=1.0.0.0,
    Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    %>
    Clean, build and deploy the solution. It works like charm. (Note: the warning message on visual web part may still exist, but you can ignore it).

    Assuming your .ascx.vb file is inheriting from the web part class, you can add the custom properties in the same manor (language syntax aside).
    Be sure to use the attributes to correctly identify and scope the properties. (see:
    http://www.sbrickey.com/Tech/Blog/Post/SharePoint_Attributes_for_Web_Part_properties)
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com

  • When i open an mp3 file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    when I open a music file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    If you use iTunes' default settings then when you add a file to iTunes it places a copy of the file in the iTunes media folder and it leaves the original in place.  The exception is when you drag it to the Automatically Add To iTunes folder.
    It does not convert the file.  You can delete the original if you wish.

  • How to create a New Excel File programmatically

    Hi !
    I am documenting acquired data continuously in an excel file, what I need to do is to create a new excel file automatically when the size of the previous file exceeds a certain limit lets say 1MB.
    I have tried using the simple 'Create/Open File' function and the 'Write to Spreadsheet File' function to create the new excel file. I does create a file but when I open the file it says the format of the file is not what you have opened it with.
    Also when the new file is created, three new worksheet are to be added programmatically with pre-defined worksheet name and also Column headers for each of the worksheet are to be added.
    I am also using 'Labview Report Generation Toolkit for Office'.
    Regards,
    Reeves
    Solved!
    Go to Solution.

    @ Aldo A
    Thanks for the reference to tutorial, I didn't know about them. They are useful in general but unfortunately they don't answer the problem of creating an altogether new excel file programmatically.
    @ ben64
    The template thing simplifies the issue of formatting the new file. But I am still working on the new excel file creation challenge.
    Let me put my problem in a different way.
    Certain data is being acquired continually and is being written to a certain excel file, when the size of the file exceeds lets say 1MB the program should start saving the data in a NEW FILE instead of the previous file.
    I have attached the VI to explain what I am trying to achieve here.
    Reeves
    Attachments:
    New Microsoft Office Excel Worksheet.zip ‏30 KB

Maybe you are looking for

  • SSO to BW reports via URL iView

    Hi all, I've searched the forum on this but could not get a clear guide. Here's my scenario: 1. We use Windows logon credentials to sign on to the Enterprise Portal 2. Once signed in, authorized users load a URL iView. 3. The iView contains URL links

  • Regarding  the Service Registry in SAP  PI 7.1 and non SAP System ....!

    Hi All , I  need to know answers for the below Question ...hope to get some answers frm Experts .... 1) How to publish service from non-SAP systems? 2)  How to use discovered service in the Service Registry for consumer/provider scenario? With some e

  • Why would flash only buffer for 5 seconds on espn following ads?

    I'm having an issue with flash video playback on espn.com. Ads will play and the the video will buffer and play for only 5 seconds exactly. Sound and video are fine in the ad. This happens for me on chrome, firefox and safari. I uninstalled and reins

  • Ipad 3 charging and sync issues (only charge while turned off)

    Hello, I recently came into possession of an iPad 3rd generation, 32GB with Verizon network. Upon gaining possession I was informed of two issues with the device. One was a busted screen and the other was that it would not sync to iTunes. The person

  • Can I use Tuxedo 8.1 BRIDGE with IPMP ?

    Hello All, My purpose is to prevent Tuxedo MP partition problem. At first, I try to configure netgroup (one with heartbeat and another with LAN) but after we terminate heartbeat Tuxedo take to much time than OS to detect network failure an failover t