Results 1 to 8 of 8

Thread: VB6+Crystal report EXPORT

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    14

    VB6+Crystal report EXPORT

    I have two questions about the Crystal Report V8.5 professional with VB6

    1. I can export a crystal report to a PDF format to Mail or file locally inside the development environment run time or complied executable. However, the 'Export Report' button just hasn't do anything although it can be clicked. (We execute the program under the Citrix terminal service environment and it has the CR V10. being installed)

    2. How can I export to 10 seperated PDF files with per-defined file name inside VB6 using Crystal report components.

    Thanks in advance

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: VB6+Crystal report EXPORT

    Moved to Reporting

  3. #3
    New Member
    Join Date
    Jan 2008
    Posts
    2

    Re: VB6+Crystal report EXPORT

    Would please tell me the sample code for exporting report data to PDF Document using cr 8.5, for describing your problem ???

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

    Re: VB6+Crystal report EXPORT

    Search this Reporting forum as there is code examples already posted.
    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

  5. #5

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    14

    Re: VB6+Crystal report EXPORT

    I tried to install the VB6 in a machine which has CR10 installed. Afterward, I copy over all the files (VB6 project) from my old computer to the new machine. However, an error message prompt out 'Crviewer.dll' cannot be load and the control is no longer in the VB report preview form

    Any idea or thing I need to do to migrate a VB6 project from CR8.5 to CR10?

    Thanks

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

    Re: VB6+Crystal report EXPORT

    CR 9 and newer use Merge Modules so the dll dependancies are completely different. You need 8.5 if you dont want to upgrade your report pt file.

    CR 8.5 and CR 10 are not compatible, bottom line. Use one or the other but not both.
    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

  7. #7

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    14

    Re: VB6+Crystal report EXPORT

    Quote Originally Posted by RobDog888
    CR 9 and newer use Merge Modules so the dll dependancies are completely different. You need 8.5 if you dont want to upgrade your report pt file.

    CR 8.5 and CR 10 are not compatible, bottom line. Use one or the other but not both.
    Thanks for your message.

    Do I need to rewrite all the reports inside the VB6 project or can I export the CR report inside VB6 (or save it to .rpt) and copy to the new CR10 machine and import back to the VB6...

    Please advise on the CR8.5 report migrate to CR10.0 inside VB6. Once migrated to CR10.0, I will giveup the old project and commence the modification on the new version with CR10.0

    Many Thanks

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

    Re: VB6+Crystal report EXPORT

    I believe the VB code between the two CR versions is almost the same as there may be a few functions or properties that have changed or depreciated.

    If you open the rpt file up in the newer CR version it will take care of things on that end for you.
    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

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