Hi,
PLACE crystal report control on ur form and change its name to cr2. then write code in command1_click()
Cr2.ReportFileName = App.Path & "\EnReg.rpt" '(or cr2.reportfilename="c:\enreg.rpt")
Cr2.WindowState = crptMaximized
Cr2.PrintReport
Cr2.Action = 1
or
ur using version 10, then, crystal reort designer is automatically added in ur project.
it is located in project menu-->crystal report 10 or
project menu-->activex designers-->crystal report 10
this is add ur project, then crystal report automatically added in aform through crystal view.
there is no necessary create report outside. using designer it is automatically added to ur form.
by