Save and open a pdf in windows


Hi All
I would like some help with openning a pdf in windows so far i can create a pdf and save it but i would like open as soon as i have saved it without going into the folder and double click it.
the code i have used to save the pdf is as follow.
pdf.Save((intInvoice) & “.pdf”)

And this code here works perfect in but not in windows forms
pdf.Save(intInvoice) & “.pdf”, Aspose.Pdf.SaveType.OpenInBrowser, Response)


Dear fatal,

Thank you for considering Aspose.

Saving to windows form is not supported by Aspose.Pdf. You need other component to display pdf in windows form.


Dear Tommy
Thx for ur response maybe i didn’t make my question very clear what i actually would like to do is to open the pdf using Adobe Viewer as soon as i finish creating it instead of browsing to the file and double clicking it.
Thx in advance


Dear fatal,

Thank you for considering Aspose.

I now understand what you want. But Aspose.Pdf does not support this directly. Aspose.Pdf can only save the document as file or stream. Web browser can open the stream automatically with Acrobat Reader. But I don’t konw if it possible for windows form.