Change PDFXEdit.SDK temp folder location  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
sagetech
User
Posts: 2
Joined: Tue Jan 26, 2021 6:26 am

Change PDFXEdit.SDK temp folder location

Post by sagetech »

Hi,

Is it possible to change the PDFXEdit.SDK temp folder location? This is because our project requirement does not permit our application to write files in windows default TEMP folder. I tried to change my application TEMP environment variable, but the library does not read the TEMP variable. Any advise? Thanks
RMan
User
Posts: 235
Joined: Tue Jul 02, 2013 10:06 pm

Re: Change PDFXEdit.SDK temp folder location  SOLVED

Post by RMan »

Not sure on your language you are doing it in but in VB6 you would want to do it when you initialize the control I believe. Something like this.

Call pdfCtl.Inst.SetStdFolder(PXV_StdFolderID.PXV_StdFolder_Plugins, sTempFolder, True)

Call pdfCtl.Inst.Init(pdfCtl, "yoourserialnumber")
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Change PDFXEdit.SDK temp folder location

Post by Stefan - PDF-XChange »

Hello RMan,

Thanks for the help!

@sagetech - I hope the above was useful to you, but if you need any further help - please do let us know!

Kind regards,
Stefan