Hyperlink to a .avi file problem

Last post 07-01-2009 9:34 AM by btough. 4 replies.

Sort Posts:

  • Hyperlink to a .avi file problem

    07-01-2009, 7:45 AM
    • Member
      24 point Member
    • btough
    • Member since 05-08-2009, 6:02 AM
    • India
    • Posts 52

     Hello all,

     
      My crystal eport contain hyperlinks to the Event Video file (i.e..avi files).
    Its format is somewhat like -
    "file:///C:/EventVideos/EventVideo_" + {DataTable1.EventId} + ".avi"
     
    When I create my Crystal Report using application, these links works fine. But when I export my report as .pdf, pdf document does not contain link to these avi file.
     
         What should be format of hyperlink so that I can use it correctly in both cases?
     
    Appreciate your help.
     
    Thanks.
  • Re: Hyperlink to a .avi file problem

    07-01-2009, 8:28 AM
    • Contributor
      2,367 point Contributor
    • akhhttar
    • Member since 02-14-2007, 8:17 AM
    • Pakistan - Lahore
    • Posts 352

    Hi,

    You need to use Virtual Path of you application using e.g http://ServerName/VirtualDirectoryName/EventVideos/EventVideo_" + {DataTable1.EventId} + ".avi"

    and make sure that EventVideos folder exists in your Website folder otherwise your can't create a link with it using Http ( Virtual Path).

    Thanks

    Muhammad Akhtar Shiekh

    Lets resolve the problem together.

    Please remember to mark the appropriate replies as answer after your question is solved, thanks

    My Blog
  • Re: Hyperlink to a .avi file problem

    07-01-2009, 8:54 AM
    • Member
      24 point Member
    • btough
    • Member since 05-08-2009, 6:02 AM
    • India
    • Posts 52

     Thank you very much Muhammad Akhtar Shiekh for quick reply.

    I am new to .net. I created a dialog based application using C#.net. I saved all my .avi files into EventVideos folder in the base path of the application.

    I don't know how to create virtual path of my application, and what is exactly servername, Virtualdirectoryname, website folder etc.

    Can you please tell me some more detail about it or can you give any link which explain it in detail? I can search on google but it will take more time to find exact details.

    Once again appreciate your help.

    Thanks.

  • Re: Hyperlink to a .avi file problem

    07-01-2009, 9:06 AM
    • Contributor
      2,367 point Contributor
    • akhhttar
    • Member since 02-14-2007, 8:17 AM
    • Pakistan - Lahore
    • Posts 352

    Are you using Windows Application? if so then you need to post this question on MSDN forum http://social.msdn.microsoft.com/forums/en-US/categories/


    This is a forumn for asp.net application ( Web Application) only.


    Thanks

    Muhammad Akhtar Shiekh

    Lets resolve the problem together.

    Please remember to mark the appropriate replies as answer after your question is solved, thanks

    My Blog
  • Re: Hyperlink to a .avi file problem

    07-01-2009, 9:34 AM
    • Member
      24 point Member
    • btough
    • Member since 05-08-2009, 6:02 AM
    • India
    • Posts 52

     Hi,

    I mean to say Windows Form application. My main intention is to know how to export a hyperlink from Crystal Report into pdf file. I think application type should not matter in this.

    Thanks.

Page 1 of 1 (5 items)