We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Saving Exported PDF in physical path


I have a requirement like while exporting into pdf, shall i save it in the any physical path instead of
open with or save file dialog box.

I am trying with below code, but i am getting error

Dim sfilename As String = myReportHeading & “.pdf”
sfilename = Replace(sfilename, " ", “”)
pdf.Save(“C:” & sfilename, SaveType.OpenInAcrobat, Response)

Please suggest me how to done this.


Hello Veeru,

Thanks for using our products.

In order to save the resultant PDF over some physical location, please try using the following overloaded method.


In case it does not satisfy your requirements or you have any further query, please feel free to contact.