I am adding a link in a pdf document of the form: file:///c:/myfile.htm?x=20&y=30
The issue is the web page opened does not contain the parameters. In other words, it opens "file:///c:/myfile.htm" which isn't correct.
Is there any way around this issue?
Thanks
Open url containing parameters
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
-
Ivan - Tracker Software
- Site Admin
- Posts: 3603
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Open url containing parameters
Hi,
Thanks for your report. Problem reproduced and will be fixed in the next build of the viewer.
Thanks for your report. Problem reproduced and will be fixed in the next build of the viewer.
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
Ivan - Tracker Software
- Site Admin
- Posts: 3603
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Open url containing parameters
For now, as I see, problem is only with file:// protocol, and looks like it is problem in Windows' Shell - we pass complete URL to ShellExecute function.
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
BGragg
- User
- Posts: 5
- Joined: Sat Aug 15, 2009 5:50 pm
Re: Open url containing parameters
Thank you for figuring that out. Knowing that, I was able to get around it as follows:
Instead of opening a web page, I open a file:
File: C:\Program Files (x86)\Mozilla Firefox\firefox.exe
Parameters: -new-tab "file:///c:/myfile.htm?x=20&y=30"
This now works. Not as easy, but it's a usable work around. Thanks for the help.
Instead of opening a web page, I open a file:
File: C:\Program Files (x86)\Mozilla Firefox\firefox.exe
Parameters: -new-tab "file:///c:/myfile.htm?x=20&y=30"
This now works. Not as easy, but it's a usable work around. Thanks for the help.
-
Ivan - Tracker Software
- Site Admin
- Posts: 3603
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Open url containing parameters
I had 'fixed' this issue right now -- starting from build 2.0.52.0 (should be available on Friday or on Monday) such URLs will be handled well (similar technique used - instead of using simple ShellExecute, I'm looking for associated application if file:// is used, and pass url as argument).
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
BGragg
- User
- Posts: 5
- Joined: Sat Aug 15, 2009 5:50 pm
Re: Open url containing parameters
Thank you for your prompt support!
-
John - Tracker Supp
- Site Admin
- Posts: 5225
- Joined: Tue Jun 29, 2004 10:34 am
Re: Open url containing parameters
Pleasure 
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com