Results 1 to 7 of 7

Thread: [RESOLVED] Error while printing the report

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2014
    Posts
    66

    Resolved [RESOLVED] Error while printing the report

    Hello All,
    I have developed the software with Visual Basic 6.0. Database - MS Access. Reporting Software - Seagate Crystal Report 8.5
    It was Running Perfectly before i reboot my Operating System(Windows 8).
    But now the software is opening but when i click print the following error occurs.
    Run Time Error '20728': F
    After i Installed Crystal Report 8.5, the same problem occurs.

    Then I googled about this problem. They told that the file 'cpre23.dll' should be pasted in system32 folder and registered with command prompt.

    But i can't find that file(cpre23.dll) to download.
    How can i get this file? or any other methods to avoid this error.

    Thanks,
    Kamal

  2. #2
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,195

    Re: Error while printing the report

    This is an interesting discussion http://scn.sap.com/thread/3552783

    If the report was working before you rebooted then my guess is that all the files you need are already on your computer. Have you searched your pc using ther file explorer?

  3. #3
    Addicted Member
    Join Date
    Jul 2014
    Posts
    176

    Re: Error while printing the report

    I'm using windows 7, but I tried to find that cpre23.dll but I don't have that in my computer...

    By the way, I'm using Crystal Report 8.5 and VB6.

    Can you explain further?
    If I had helped you...

    Don't forget to mark your Inquiry as RESOLVED...

    I will be glad if you can also give me some Reputation points in helping you (by Clicking Rate This Post)...

    Happy VB Coding Everyone!

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Apr 2014
    Posts
    66

    Re: Error while printing the report

    Thanks,
    Yep, i have searched in my PC. But i can't find these file.

    But when i put the different version of CRPE32.DLL, it shows the error 'crystl32.ocx or one of its compound not correctly registered.'
    what can i do for this problem.??

    Thanks Again

  5. #5
    Addicted Member
    Join Date
    Jul 2014
    Posts
    176

    Re: Error while printing the report

    You need to register your CRPE32.dll

    1. Run command prompt
    2. Make sure it is "C:\Windows\System32:" if its 32 bit and SysWow64 if its 64 bit.
    3. Type "regsvr32 CRPE32.dll"
    4. Press Enter

    A prompt will confirm that it is already registered.

    You can now exit cmd and try your Crystal Reports.
    Last edited by terry002; Dec 9th, 2014 at 12:17 AM.
    If I had helped you...

    Don't forget to mark your Inquiry as RESOLVED...

    I will be glad if you can also give me some Reputation points in helping you (by Clicking Rate This Post)...

    Happy VB Coding Everyone!

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Apr 2014
    Posts
    66

    Re: Error while printing the report

    Thanks for your reply friends,
    I have solved my problem with two files.
    I have downloaded the files
    Crystl32.ocx And Crpe32.dll ( Both are version 8.0 )
    and placed in system32 folder.

    Now it is Perfectly Working..

    Thanks Again Friends..

  7. #7
    New Member
    Join Date
    Jan 2017
    Posts
    1

    Re: Error while printing the report

    can you mail me Crpe32.dll?
    Email Id - yuvrajadkar@gmail.com

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