Set default directory for browse dialog when inserting page

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
ap_mi
User
Posts: 47
Joined: Mon Aug 31, 2015 11:38 pm

Set default directory for browse dialog when inserting page

Post by ap_mi »

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.

Image
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Set default directory for browse dialog when inserting p

Post by Tracker Supp-Stefan »

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

Re: Set default directory for browse dialog when inserting p

Post by ap_mi »

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.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Set default directory for browse dialog when inserting p

Post by Tracker Supp-Stefan »

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

Re: Set default directory for browse dialog when inserting p

Post by ap_mi »

Hello,

Any news on this?

Thanks.
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Set default directory for browse dialog when inserting p

Post by Vasyl-Tracker Dev Team »

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.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Post Reply