hi everybody,
I have a VB active X dll which creates the same crystal OCX report in a loop for showing and printing.
problem 1: if i call the report in a loop, for the second time, it says sql server cannot be opened...may be the first report instance still persists...how to kill that instance or how to overcome this problem
problem 2: when i create an instance of this activex control in vb standard exe and run it the report gets displayed for a second and then closes automatically. if destination is printer then printing is done successfully. why and how to solve this??
your help would be highly appreciated!
thanks in advance
I have a VB active X dll which creates the same crystal OCX report in a loop for showing and printing.
problem 1: if i call the report in a loop, for the second time, it says sql server cannot be opened...may be the first report instance still persists...how to kill that instance or how to overcome this problem
problem 2: when i create an instance of this activex control in vb standard exe and run it the report gets displayed for a second and then closes automatically. if destination is printer then printing is done successfully. why and how to solve this??
your help would be highly appreciated!
thanks in advance