Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

PDF not created in one machine

$
0
0

Hi

I am using the following code  and everything is fine. But in one  new computer the pdf not created . Please can you let me know  the which dll  be could be missing on that folder

s_attach =  g_str_filepath +'\' +  "HolidayReminder.pdf"

lds_holiday.Object.DataWindow.Export.PDF.Method = Distill!

lds_holiday.Object.DataWindow.Printer =  'CutePDF Writer'

lds_holiday.Object.DataWindow.Export.PDF.Distill.CustomPostScript="Yes"

li_ret = lds_holiday.SaveAs(ls_attach, PDF!, true)

if  li_ret=-1 then MessageBox("Error","PDF file cannot be created",stopsign!)

Return False

end if


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>