Hi I'm having an 'The application is in Break Mode Error' when debuging this sort code.

  Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim ds As New test1
        Dim reportdoc As New CrystalReport1
        DataGridView1.DataSource = ds.Tables("Datatable1")
        With CrystalReportViewer1
            .ReportSource = reportdoc
        End With
    End Sub

The error occurs in this Line 'reportdoc.SetDataSource(ds.Tables("Datatable1"))'

Break Mode usually occurs when you have stopped your program with the Pause button in the IDE or hitting a breakpoint. You can also put a Stop keyword in your code to get to Break Mode. What were you trying to do when you got the message that you were in break mode?