Hi,
I want to know how to print a crystal report file from vb - using vb code. I get no errors but not getting print or preview.

The code I use.
crystalreport1.ReportFileName = GenPath & "order.rpt"
crystalreport1.SQLQuery = strSql
crystalreport1.Destination = crptToWindow
crystalreport1.PrintReport

Can anyone help to find the bug here.
Thanks in advance