Can't play eventvideo after exporting report

Last post 07-02-2009 7:56 AM by btough. 4 replies.

Sort Posts:

  • Can't play eventvideo after exporting report

    06-25-2009, 6:26 AM
    • Member
      24 point Member
    • btough
    • Member since 05-08-2009, 6:02 AM
    • India
    • Posts 52

    Hi,

    My Crystal Report has VideoClip OLE object. I stored my event videos at the base path of the application. Then assigned link of these stored videos to the VideoClip OLE object. So when user click on this object proper video strat to play from the base path.
           Before exporting report, it works fine. After exporting my report in any format, when I click on the VideoClip object, it does not play video.
     
    I don't understand why it does not work after exporting report.
     
    Can anybody help me to sort out this issue? Help will be appreciated.
     
    Thanks.
  • Re: Can't play eventvideo after exporting report

    06-29-2009, 9:20 AM

    btough thanks for your post.

    I think if you reinitilaize the report then it'll work. so try to reload/reinitialize the report. Any problem feel free to post with complete explanations.

    Any doubts please feel free to ask me.

    If this post is answer of your question then don't forgot to Click Mark As Answer.

    Thanks & Regards,
    J.Jeyaseelan
  • Re: Can't play eventvideo after exporting report

    07-02-2009, 3:56 AM
    • Member
      24 point Member
    • btough
    • Member since 05-08-2009, 6:02 AM
    • India
    • Posts 52

     Thank you jeyaseelan@ajsquare.net,

    Actualy I saved all my .avi files into EventVideos Folder in the base path of my application. I export my report using the export button in toolbar and not by programaticaly. I used formula as - "EventVideos\EventVideo_" + {DataTable1.EventId} + ".avi".

    Now when i export it as pdf or in any format, and try to open event video from report, it does not play event video. But if I keep EventVideos folder in the folder where I export the report as pdf, and if try to open event video from report it works.

    After exporting, does CR lose its base path information or what happen after exporting it? Why it does not run event video?

    Appreciate further help.

    Thanks.

     

  • Re: Can't play eventvideo after exporting report

    07-02-2009, 6:07 AM

    btough try to reinitialize your report like...

    CryReport1 objCr = new CryReport1(); then bind ur data.

    Any doubts please feel free to ask me.

    If this post is answer of your question then don't forgot to Click Mark As Answer.

    Thanks & Regards,
    J.Jeyaseelan
  • Re: Can't play eventvideo after exporting report

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

     Thank you jeyaseelan@ajsquare.net,

    I create report on button click event.  WHen user click on Create Report button, I create new object of ReportDocument class and Load Crystal Report in it. Then use this ReportDocument object for further processing.  But how can I reinitialise the Report once I create it?

    Thanks.

Page 1 of 1 (5 items)