Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. crystalr reports

crystalr reports

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpquestiondatabasesql-servervisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shaz jazz
    wrote on last edited by
    #1

    Hi, i want to ask can i call a crystal report without reportViewer control. i mean is there any way to call a report directly in some way?? basically i'm using c# express edition which do suports SQL server 2005 but doesnt support crystal reports. so i installed crystal report 10 seperately and begin using it. now in my C# IDE if i go to add Item then crystal report icon doesn't apear. also there is not report viewer control in the the controls area. so i asked this question. if there exists no way then sugest me what should i d0?? hope u'l respond for my satisfaction. as far as my introduction is concerned i'm a student of BS doing my final project, i'm using .net since 1 year but crystal reports are new for me. regards

    thx in advance!! regards shaz jazz

    G 1 Reply Last reply
    0
    • S shaz jazz

      Hi, i want to ask can i call a crystal report without reportViewer control. i mean is there any way to call a report directly in some way?? basically i'm using c# express edition which do suports SQL server 2005 but doesnt support crystal reports. so i installed crystal report 10 seperately and begin using it. now in my C# IDE if i go to add Item then crystal report icon doesn't apear. also there is not report viewer control in the the controls area. so i asked this question. if there exists no way then sugest me what should i d0?? hope u'l respond for my satisfaction. as far as my introduction is concerned i'm a student of BS doing my final project, i'm using .net since 1 year but crystal reports are new for me. regards

      thx in advance!! regards shaz jazz

      G Offline
      G Offline
      gnadeem
      wrote on last edited by
      #2

      hi there. report viewer control is a part of dll so you wouldn't be ablt o use it serperately. there might be some other options, but here is a rough-one. export the report to a file of desired format and then view in explorer or other application that supports the format you chose. Rep r = new Rep(); //report object r.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat , "C:\\myreport.pdf"); //exporting as pdf file ProcessStartInfo info = new ProcessStartInfo("iexplore.exe","C:\\myreport.pdf"); Process.Start(info); if you cant find something more robust, this may be usefull, at least on educational level. regards.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups