When I run the below Visual Basic
and maxCount.Text = 60 ... RDC leaks about a meg of memory. Any suggestions???
I'm running with Crystal XI.
=========================================================
Option Explicit
Dim m_Proj As CRAXDDRT.Application
Dim m_Report As CRAXDDRT.Report
Private Sub cmdDone_Click()
Unload Me
End Sub
Private Sub cmdRunTest_Click()
Dim i As Integer
For i = 1 To maxCount.Text
Set m_Proj = New CRAXDDRT.Application
Set m_Report = m_Proj.NewReport()
Set m_Report = Nothing
Set m_Proj = Nothing
reportCounter.Caption() = i
reportCounter.Refresh
Next i
reportCounter.Caption() = "Done"
End Sub
and maxCount.Text = 60 ... RDC leaks about a meg of memory. Any suggestions???
I'm running with Crystal XI.
=========================================================
Option Explicit
Dim m_Proj As CRAXDDRT.Application
Dim m_Report As CRAXDDRT.Report
Private Sub cmdDone_Click()
Unload Me
End Sub
Private Sub cmdRunTest_Click()
Dim i As Integer
For i = 1 To maxCount.Text
Set m_Proj = New CRAXDDRT.Application
Set m_Report = m_Proj.NewReport()
Set m_Report = Nothing
Set m_Proj = Nothing
reportCounter.Caption() = i
reportCounter.Refresh
Next i
reportCounter.Caption() = "Done"
End Sub