Hi. I'm trying to use Crystal Reports with VB 6 for the first time, so I created a very simple project and form. There are simply 2 command buttons and a Crystal Control on the form. Here is the total code:
Private Sub cmdStart_Click()
CrystalReport1.Action = 1
End Sub
Private Sub cmdExit_Click()
End
End Sub
I run the form, and the report comes up nicely. But after I close the preview window and click the comand button to exit the form, the form disappears but VB then starts taking up all of the CPU cycles. I've let this run as long as 20 minutes but it never seems to resolve itself.
Is there something that I am neglecting to do here? Thanks!
Private Sub cmdStart_Click()
CrystalReport1.Action = 1
End Sub
Private Sub cmdExit_Click()
End
End Sub
I run the form, and the report comes up nicely. But after I close the preview window and click the comand button to exit the form, the form disappears but VB then starts taking up all of the CPU cycles. I've let this run as long as 20 minutes but it never seems to resolve itself.
Is there something that I am neglecting to do here? Thanks!