Dim reportDocument As New ReportClass.myReport
reportDocument.ReportParameters(0).Value = myNum
Dim reportProcessor As New ReportProcessor()
Dim result As RenderingResult = reportProcessor.RenderReport("PDF", reportDocument, Nothing)
Dim ms As New MemoryStream(result.DocumentBytes)
Dim myAttachment As New Attachment(ms, "PO_" + myPONum + ".pdf")
Visual Studio generates an error message on the line that reads: "Dim result as RenderingResult = reportProcessor...."
The error message reads "There is no source code available at the current location"
What have I done wrong?