private void Export(ReportDocument oRpt, string docKey, string type) ... { string tempFileName; CrystalDecisions.Shared.DiskFileDestinationOptions myDestinationFile = new DiskFileDestinationOptions(); if ( type == "PDF" ) //modified by hfw 20070830 ...{