Search

Google
 

Crystal report viewer

Can you imagine that you can write a crystal report viewer in just 4 lines.

Into a vb.net project. Add a form and into the form add a crystal report viewer object and a button and a open file dialog.

into button click event add folowing code.
OpenFileDialog.ShowReadOnly = True
OpenFileDialog.Multiselect = False
OpenFileDialog.Filter = "Report files (*.rpt)|*.rpt|All files (*.*)|*.*"
OpenFileDialog.ShowDialog()

into OpenFileDialog_FileOk event add folowing code.
CrystalReportViewer.ReportSource = OpenFileDialog.FileName

thats all. now you can view any crysatl report saved in .rpt format.

The World


World began with beauty.
The amazing world.
It holds different people, nice rivers, fantastic trees ...
All are entirely different ...
Even they are in same unit , they are different ..
Innocent animals, cruel animals ...
Nice people.. , bad people ...
The most amazing thing is ....
EVERY THING IS CHANGING IN EVERY SECOND ....
CAN YOU EXPECT AN UNCHANGING THING FROM A CHANGING WORLD ? ..