Results 1 to 3 of 3

Thread: VB6 and CrystalReports 8; Export Question.

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2007
    Posts
    1

    VB6 and CrystalReports 8; Export Question.

    Hello. I am working on a legacy VB6 app that uses CrystalReports 8 for reporting. This version of CR allows the user to Export to Adobe PDF. Works like a charm.

    However, I want to automate the process (e.g. create the file in a pre-defined folder with a pre-defined filename). For some reason, PDF isn't an option with the PrintFileType property. Every other available export type is.

    Has anyone experienced this too? Is there a work around? Googling didn't turn up much other than a reference to need to download a patch called scr8-pdfexportdriver.zip; of which I cannot locate.

    I could kludge one with a free PDF writer, but I would really rather not unless I absolutely have to.

    Thanks all for your help.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: VB6 and CrystalReports 8; Export Question.

    Welcome to the Forums.

    8.5 has the .ExportToDiskFile but not sure about 8.0.
    Are you using the SetrExportType first before using the .Export method?

    Thread Moved
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2007
    Posts
    1

    Re: VB6 and CrystalReports 8; Export Question.

    Thanks for your kind reply. I have access to 8.5, but this particular app is using 8.0 and AFAIK, I have to leave it that way.

    I'm trying to set .PrintFileType as .ExportToDiskFile does not appear to be a property.

    Any ideas would be great. Thanks.

Posting Permissions

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



Click Here to Expand Forum to Full Width