Thanks Bluejay07....
I've installed SP6. I tried compiling by File > Make .exe and got a "Compile Error: function not defined" on PECloseEngine. I have not made changes to the code and just wanted to see if it will compile before any changes. Here's the function in error:
Function RunCrystalReport(reportName As String, WindowTitle As String) As Integer
'********************************************************************************
'* open a window and display a report using the crystal report print engine
'********************************************************************************
Dim pathandfile As String
'open the crystal reports print engine
PECloseEngine
Handle& = PEOpenEngine
pathandfile = ApplicationPath + reportName
'
'MsgBox (pathandfile)
Jobnum% = PEOpenPrintJob(pathandfile)
Handle& = PEOutputToWindow(Jobnum%, WindowTitle, 0, 0, 520, 520, 0, 0)
Handle& = PEStartPrintJob(Jobnum%, True)
PEClosePrintJob (Jobnum%)
End Function