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
  1. Home
  2. General Programming
  3. Visual Basic
  4. VS 2005, Crystal reports replaces chars when exporting to PDF.

VS 2005, Crystal reports replaces chars when exporting to PDF.

Scheduled Pinned Locked Moved Visual Basic
visual-studioadobehelptutorialquestion
1 Posts 1 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.
  • J Offline
    J Offline
    Jaggernaut
    wrote on last edited by
    #1

    Hi all, I have a form in which I load a .rpt file, populate som values and then export it into a .PDF file. Something goes seriously wrong here thou. All occurances of the letter t is replaced with ti or tt. All occurances of ti is being replaced with tt. So for an example out of the file. Should be Becomes after export to Adobe PDF --------------------------------------------------------- Mattias Mattas kommentarer kommentiarer Deviation Deviatton Skadat Skadatt Registrerat Registirerati I dunno why it does this. Has anyone else been out for it or am I alone in this matter? Below is the "export" part of the code CrystalReportViewer1.ReportSource = rptDocument Me.rtStatus.AppendText("Exporting to PDF" & vbCrLf) Application.DoEvents() Dim CryRepExportoptions As New CrystalDecisions.Shared.ExportOptions Dim CryRepDestination As New CrystalDecisions.Shared.DiskFileDestinationOptions Dim CryRepTypeOptions As New CrystalDecisions.Shared.PdfRtfWordFormatOptions CryRepDestination.DiskFileName = IO.Path.GetDirectoryName(Reflection.Assembly.GetExecutingAssembly.Location) + "\PDFTemp\" & Ticket.ToString & ".pdf" CryRepExportoptions = rptDocument.ExportOptions With CryRepExportoptions .ExportDestinationType = ExportDestinationType.DiskFile .ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat .DestinationOptions = CryRepDestination .FormatOptions = CryRepTypeOptions End With rptDocument.Export() I'm completely clueless in this matter. Any help would be greatly appreciated. :)

    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