PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)
Moderators: PDF-XChange Support , Daniel - PDF-XChange , Chris - PDF-XChange , Sean - PDF-XChange , Vasyl - PDF-XChange , Ivan - Tracker Software , Stefan - PDF-XChange
ap_mi
User
Posts: 47 Joined: Mon Aug 31, 2015 11:38 pm
Post
by ap_mi » Mon Oct 10, 2016 4:49 pm
Hello,
Is it possible to set a default directory for the "browse" dialog when choosing the source file to insert a page (see image below)?
I know that a property exists to set a default file path to a file:
Code: Select all
m_cPDFView.SetProperty("Operations.InsertPages.File", _variant_t(_bstr_t("C:\\Temp\\PDF-XChange Viewer SDK.pdf")), 0);
However, I'm hoping to find a property where I can set the default directory that the browse dialog can look in.
Thanks in advance.
Stefan - PDF-XChange
Site Admin
Posts: 19868 Joined: Mon Jan 12, 2009 8:07 am
Post
by Stefan - PDF-XChange » Tue Oct 11, 2016 8:52 am
Hello ap_mi,
If you set the "FromExternal" to True, and then set the "File" value here:
https://help.pdf-xchange.com/DEV/de ... =undefined
Does that help?
Cheers,
Stefan
ap_mi
User
Posts: 47 Joined: Mon Aug 31, 2015 11:38 pm
Post
by ap_mi » Mon Oct 17, 2016 8:25 pm
No, that doesn't help
I'd like to set a default directory for the browse functionality. After clicking browse I'd like the browse dialog to be looking in my specified directory.
Thanks for your help.
Stefan - PDF-XChange
Site Admin
Posts: 19868 Joined: Mon Jan 12, 2009 8:07 am
Post
by Stefan - PDF-XChange » Tue Oct 18, 2016 9:49 am
Hello again ap_mi,
Passing this along to the dev team as well, and we will post back here as soon as we have further suggestions!
Regards,
Stefan
ap_mi
User
Posts: 47 Joined: Mon Aug 31, 2015 11:38 pm
Post
by ap_mi » Thu Oct 20, 2016 6:48 pm
Hello,
Any news on this?
Thanks.
Vasyl - PDF-XChange
Site Admin
Posts: 2445 Joined: Thu Jun 30, 2005 4:11 pm
Post
by Vasyl - PDF-XChange » Fri Oct 21, 2016 7:37 pm
However, I'm hoping to find a property where I can set the default directory that the browse dialog can look in.
Sorry but no way to do it currently.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.