Hello,
I have visual Basic6 and Seagate Crystal Report
I've designed simple
VB project with only one button "print"
This button will run crystal report
This report have only one text field: "Hello message"
The problem is that this program is working fine with some users
and it will not work for others especially when they have new PCs
There is no error message or warnings
The program is working
but when hitting the button, there will not be any response
I checked the Crystal report (.dll) files
(e.g. craxdrt.dll, crviewer.dll, craxdrt.dll) all are there.
The CODE of two testing buttons in the program:
Private Sub Command3_Click()
crpPrintAll.Reset ' crystal report component name
crpPrintAll.ReportFileName = App.Path & "\TestWaseem.rpt"
crpPrintAll.Destination = crptToPrinter ' crptToWindow
crpPrintAll.PrintReport
End Sub
Private Sub Command2_Click()
crpPrintAll.Reset
'crpPrintAll.Connect= "DSN=XXX;UID=XXX;PWD=XXX;DSQ=XXX"
crpPrintAll.ReportFileName = "I have Put full path here"
crpPrintAll.Destination = crptToWindow
crpPrintAll.PrintReport
End Sub
'-------------------
Please, I have this prolem one week ago..
I appreciate your concern
Regards,