Skip to Content
0
Former Member
May 12, 2011 at 08:18 AM

Can't close, resize or move report viewer window

45 Views

In my application, I have a window with a button. When I click the button, a report viewer window opens. After the report has loaded, everything works fine, except that I can't close, move or resize the report viewer window.

Some of my code:

Private Sub btnLogReport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogReport.Click

Dim tmpFrm As New frmLogReport

tmpFrm.Show()

End Sub

Private Sub frmLogReport_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

Me.CrystalReportViewer1.ReportSource = Application.StartupPath.Replace("\bin", "") & "\Reports\LogReport.rpt"

End Sub

Any help?