Vshost.exe has stopped working...
Posted A minute ago
vshost.exe has stopped working
this error showing after using the Crystal Report.
The error show when I closed the application.
If I not use the crystal report then the error not showing.
I am creating a program in vb with visual studio 2010 ultimate and crystal report
Please help me.....
For view a report
Public Sub PrintSaleRInvoice() Dim PrintSale As New DataSet objsale.saleinvid = txtSaleInvid.Text PrintSale = objsale.PrintSaleInvoice() ' Procedure name PrintSale.Tables(0).TableName = "DataTable1" Dim rpt As New SaleInv rpt.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.Portrait rpt.PrintOptions.PaperSource = CrystalDecisions.Shared.PaperSource.Middle rpt.SetDataSource(PrintSale) SaleRInvPrint.CrystalReportViewer1.ReportSource = rpt SaleRInvPrint.ShowDialog() End Sub
Please help me please