When I try to use the following crystal statements in my vb6 form, I get an error message:

Run-time error '91':
Object variable or With block variable not set


Code:
Report.ExportOptions.DestinationType = crEDTDiskFile
Report.ExportOptions.DiskFileName = "C:\test.txt"
Does anyone know why?