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  dBforums > Data Access, Manipulation & Batch Languages > ASP > creating an .ics file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-27-04, 15:05
breeze76 breeze76 is offline
Registered User
 
Join Date: Apr 2004
Posts: 75
creating an .ics file

Does anyone know how to create and format an .ics file?

breeze76
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 22:56
breeze76 breeze76 is offline
Registered User
 
Join Date: Apr 2004
Posts: 75
Lightbulb

Quote:
Originally Posted by breeze76
Does anyone know how to create and format an .ics file?

breeze76
OK kind of answered my own question, but am using a .vcs file instead.. But here is my QUESTION:

OK.. I want to attach a file created each time a user fills out a form, and save it as a *.vcs file and then after the user logs off it is deleted so it can be used again. Here is the code I got from MSOutlook vcs file:

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:1.0
BEGIN:VEVENT
DTSTART:20040429T050000Z
DTEND:20040506T050000Z
LOCATION;ENCODING=QUOTED-PRINTABLE:Any where
UID:040000008200E00074C5B7101A82E00800000000106B8F F9252EC4010000000000000000100
0000066F713F407EE07498608835257C8CE15
SUMMARY;ENCODING=QUOTED-PRINTABLE: Deposition Scheduled
PRIORITY:3
END:VEVENT
END:VCALENDAR

Questions:
1) Does it need this info: "PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN"

2) Is the version needed: "VERSION:1.0"

3) Does the time and date need to be formatted like this : "DTSTART:20040429T050000Z"

4) Is this UID info needed: "UID:040000008200E00074C5B7101A82E00800000000106B8 FF9252EC4010000000000000000100
0000066F713F407EE07498608835257C8CE15"

5) How would I save the info and attach it to the email? I am going to use a static name so I could hard code the attachment to email, easily done.

I have a few more questions, but will wait and see if anyone will attack this issue with me.

Thanks...

breeze76
Reply With Quote
  #3 (permalink)  
Old 04-30-04, 11:46
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Check out the specs regarding Personal Data Interchange (aka: vCard and vCalendar).

http://www.imc.org/pdi/

I have an app that utilizes vCard. And when I want to email a vCard to someone, my ASP creates a temp file, writes the vCard info to the temp file, attaches that file to an email via ASPMail (www.serverobjects.com), sends the mail and then deletes the temp file.
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #4 (permalink)  
Old 04-30-04, 11:52
breeze76 breeze76 is offline
Registered User
 
Join Date: Apr 2004
Posts: 75
Quote:
Originally Posted by Seppuku
Check out the specs regarding Personal Data Interchange (aka: vCard and vCalendar).

http://www.imc.org/pdi/

I have an app that utilizes vCard. And when I want to email a vCard to someone, my ASP creates a temp file, writes the vCard info to the temp file, attaches that file to an email via ASPMail (www.serverobjects.com), sends the mail and then deletes the temp file.
Thanks I will check it out.. would you share the code you use to do your vCard? Thanks again for your reply..
I think this would add a nice feature to the schedule form users fill out..

breeze76
Reply With Quote
  #5 (permalink)  
Old 04-30-04, 13:47
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
I would post my code, but it's not pretty. Would you like to see the file handling, or what? Most of the code is really just formatting the text of the vCard from a database, then there's a small bit that does the file operations and the email delivery. The whole thing is over 600 lines (not counting include files), and I don't think you want to sift through that!
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #6 (permalink)  
Old 05-02-04, 00:34
breeze76 breeze76 is offline
Registered User
 
Join Date: Apr 2004
Posts: 75
Quote:
Originally Posted by Seppuku
I would post my code, but it's not pretty. Would you like to see the file handling, or what? Most of the code is really just formatting the text of the vCard from a database, then there's a small bit that does the file operations and the email delivery. The whole thing is over 600 lines (not counting include files), and I don't think you want to sift through that!
Well... not sure.. Like I mentioned, I have a form, it is filled out, I would like to input some of the info into the vCalendar to attach to the enail they receive about the form they just filled out so they can import it (vCalendar) into whatever calendar program they use.

So, with that said, I am not sure what I would need, so I am sure you could tell me....

You can send mr whatever in email so not to clutter this up or however you would like.

Thanks

breeze76
Reply With Quote
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On