DeveloperBarn Forums

DeveloperBarn

Programming & IT forum

Need Help with ASP automatic .VCS file creation in Calendar App

This is a discussion on Need Help with ASP automatic .VCS file creation in Calendar App within the ASP Development forums, part of the Programming & Scripting category; Originally Posted by Wolffy I'm no ASP'er but I think the following should work: Code: <% Response.Write( "<a href="Event _ ...

Go Back   DeveloperBarn Forums > Programming & Scripting > ASP Development

  #21  
Old June 23rd, 2009, 05:02 PM
Barn Newbie
 
Join Date: Jun 2009
Posts: 46
Rep Power: 1
MaxxMills84 is an unknown quantity at this point
Default

Quote:
Originally Posted by Wolffy View Post
I'm no ASP'er but I think the following should work:
Code:
<%
  Response.Write(
"<a href="Event_" & event_id & ".ics">Click here to download the event into your Outlook calendar.</a>")
%>
Close, but I had to read event_id from a querystring first, and move the write text up to the same line and double up the quotes "" and add the correct path to the file. Then find which sub-function would actually print it for all users and still write the file correctly, and added some line breaks to make it pretty. I ended up with something like:
Code:
 Dim ID
 ID = CCGetFromGet("event_id","x")
  Response.Write("<a href=""/directory/Event_" & ID & ".ics"">Click here to download the event into your Outlook calendar</a><br><br>")
Which seems like its working now! Thanks again.
Reply With Quote
  #22  
Old June 23rd, 2009, 06:04 PM
Wolffy's Avatar
Wolfmaster
 
Join Date: Mar 2008
Real name: Wolff
Location: Peoria, IL
Posts: 779
Blog Entries: 1
Rep Power: 9
Wolffy is a splendid one to beholdWolffy is a splendid one to beholdWolffy is a splendid one to beholdWolffy is a splendid one to beholdWolffy is a splendid one to beholdWolffy is a splendid one to beholdWolffy is a splendid one to behold
Default

OK, so it was a bit more complicated than I thought Glad you go it sorted.
__________________
Wolffy
------------------------
Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Rework for your specific environment may be required. Void where prohibited by law. Not valid in California. Your mileage may vary.
Reply With Quote
Reply

  DeveloperBarn Forums > Programming & Scripting > ASP Development

Bookmarks

Thread Tools
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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Calendar for date entry alex motilal Microsoft Access 1 March 3rd, 2009 09:59 AM
Access 2007 Calendar Year wrong coolcatkelso Microsoft Access 3 February 9th, 2009 08:04 AM
Custom Calendar Control AOG123 Access Database Samples 6 December 10th, 2008 05:34 PM


All times are GMT -4. The time now is 10:32 AM.


Copyright ©2008-2010, DeveloperBarn

Content Relevant URLs by vBSEO 3.3.2