Buenas tardes:
Estoy corriendo programas desarrollados en VB6 que tiene asociado CRYSTAL REPORT XI y esta corriendo bajo Windows Server 2012r2.
El tema es que cuando se ejecuta el reporte (comando reportview) por momentos funciona, y por otros momentos tira un error de Runtime errors, saliendo abruptamete del programa dado que si bien esta controlado el error, no pasa por el control del programa.
Es totalmente raro dado que funciona y no funciona.
Alguna ayuda?
Gracias.
--Codigo
Private Sub Repo()
Set crReport = crApp.OpenReport(App.Path & "\" & GCRREPORTE, 1)
With cr
MsgBox .IsBusy
.Refresh
.ReportSource = crReport
.Refresh
.EnableExportButton = True
.DisplayGroupTree = False
.EnablePopupMenu = False
.EnableDrillDown = False
.EnableSelectExpertButton = False
.ViewReport 'ACA HAY VECES QUE PASA Y OTRAS DA ERROR
.Zoom 100
End With
End Sub
Microsoft Visual C++
Runtime Error!
Runtime Library
Program:
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application 's support team for more information.