OK, starting to use VRW for some serious work!

I'm working on replacing my Crystal invoices with a VRW version to get up to speed with it!
And so far really enjoying it and able to get most things working...

I've created a No-User-Interface version of an invoice controlled by buttons on the invoice view.
Print and Preview versions are working fine - by not getting anything happening trying to export to PDF.
This is very rough - but just starting by entering this in 'OnInitializeReport'
But the file does not get created ?
>>>>>>>>
If (iOutputType=2) Begin // PDF output - no user intervention - '2' is get from a property setting the output!
vrwPDFExportOptions PDFExportOptions
Set peOutputDestination of hoReport to PRINT_TO_FILE
// set the export options
Move C_vrwNormal to PDFExportOptions.iPageMode
Move "test" to PDFExportOptions.sOwnerPassword
Move "test" to PDFExportOptions.sUserPassword
Move C_vrwLow to PDFExportOptions.iImageQuality
Set pPDFExportOptions of oReport to PDFExportOptions
// exports the report to a file MyReport.PDF
Send ExportReport of oReport C_vrwPDF "c:\djs\MyReport.PDF"
End
<<<<<<<<<<<<<<<<
TIA, Dave