Printing a Local Report without Preview
===

I am trying to follow the <a http://msdn.microsoft.com/en-us/library/ms252091.aspx>Walkthrough: Printing a Local Report without Preview</a>.

I am putting the code under the PrintRecord() Public Sub under the Invoice form. Instead of using the xml file for data, I query the data from the database into a datatable.

The program failed at this line:
        report.Render("Image", deviceInfo, AddressOf CreateStream, warnings)

Please shad a light on why & how I can resolve it.

Thanks,
Raymond
