Python Forum

Full Version: Crystal Report
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

I'm new here.

Would like to inquire if there is a way to call Crystal Report in Python 3.6.


Thanks!
Thank you for the reply.

I installed pypiwin32 (pip install pypiwin32) successfully.
However, upon testing app=Dispatch('CrystalRunTime.Application'), there is an error occured 'Class not registered'



import sys
from win32com.client import

app = Dispatch('CrystalRunTime.Application')





İmage
your import statement is incorrect
should be:
from win32com.client import Dispatch
Hi Larz60+,

Ok. I added Dispatch.

It gives me this error:

com_error(-2147221164, 'Class not registered', None, None)

I have a Crystal Report installed.
I've never used it myself.
google search 'com_error(-2147221164, 'Class not registered', None, None)' brings many replies.