hi to all
im currently having problems with datareport in vb6..i assigned a recordset as a datareport's datasource..and telling it to be printed once a button is clicked..my problem is that when the report is printed,there seems to be a thread that is left running even if i already closed the main window of my program.
the code i used is below
Dim freturn As Long
Set PaySlip.DataSource = adoPrimaryRS
freturn = PaySlip.PrintReport(True, rptRangeFromTo, 1, 1)
these lines of codes are inside the click event of button...
i even tried building the exe file of my program..and when i tried it..task manager indicates that the program is still running even if all the windows are already closed.my vb6 ide shows the same scenario...with the start button unclickable even if the windows were already closed..
thanks for your help