+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 22 of 22

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

  1. #21
    Barn Newbie MaxxMills84 is an unknown quantity at this point MaxxMills84's Avatar
    Join Date
    Jun 2009
    Posts
    46
    Rep Power
    3

    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.

  2. #22
    Wolfmaster Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy's Avatar
    Join Date
    Mar 2008
    Location
    Peoria, IL
    Posts
    2,386
    Blog Entries
    5
    Real Name
    Wolff
    Rep Power
    15

    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. Void where prohibited by law. Not valid in California. Your mileage may vary.

+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO