cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi All,

I am saving a data window as PDF from my application.

dw_1.saveas("path", PDF, TRUE)

when the above code is executing, it is making an hourglass pointer.

I am using below code to create pdf from my application.

dw_1.Object.DataWindow.Export.PDF.Method = Distill!
dw_1.Object.DataWindow.Printer = "\\prntsrvr\pr-6"
dw_1.Object.DataWindow.Export.PDF.  &
 Distill.CustomPostScript="Yes"

I do not want to display hours glass to user,which prevent them to continue their work.

Is there any solution for this.

Thanks

Rashmi

View Entire Topic
Former Member
0 Likes

Hi Rashmi;

You have a few choices ...

1) Use PB's muli-threading feature (aka SharedObject) to perform the PDF generation asynchronously. - or -

2) Create another EXE and call it from your PB App to create the PDF

3) Call a Web Service - built using a PB NVUO and generate the PDF in the WS.

HTH

Regards ... Chris