How can I get Adobe .pdx file to work online? - search

Have thoroughly googled this topic without any luck finding a workable solution. On my laptop I created a folder containing a collection of 280 PDF documents. Within that folder are two additional files created when I ran a "Full Text Index With Catalog" using Adobe Acrobat XI Pro: .LOG and .PDX files. Also within the folder is a sub-folder containing index.idx and index1.idx. The index1.idx contains all the results of the search index. The index works great when operating locally on my laptop.
My aim is to make this PDF collection available to the public. I uploaded the entire folder to my website and created a webpage with a link to the .PDX file expecting the search index to work on the website the way it works on my laptop. No such luck! Using both Firefox and Chrome yields pretty much the same results: the PDX file tries to open files on my computer rather than the set of files stored on the website. Here's what happens depending on whether the PDX is opened with Acrobat or Reader:
"You have chosen to open this PDX file. Open with ..." I selected Adobe Acrobat. This results in an error message:
"Search could not load the index
(C:\Users\Name\AppData\Local\Temp\library.pdx.
You may need to rebuild this index."
If I try to open the .PDX by navigating to the Adobe Reader software on my computer (AcrRd32.exe), I get the following:
"The operation you are trying to perform potentially requires read
access to your drives. Do you want to allow this operation?
How can I get this to work from the website? Alternatively, are there other options out there to achieve the same result?

How can I get this to work from the website?
You can't.
The index created by Acrobat is designed to work with the desktop versions of Acrobat and Reader. However, there are a number of search engines that index PDF files including Google but none of them will open and highlight the search terms like you see in Acrobat/Reader.

Related

Office / Excel 365 - use relative hyperlinks instead of OneDrive

I asked this question on Microsoft TechNet 2 weeks ago but have not received any answer. (https://techcommunity.microsoft.com/t5/excel/office-excel-365-use-relative-hyperlinks-instead-of-onedrive/m-p/3068778)
I've recently been "upgraded" to M365 on my work computer, and it's been .... interesting.... There's a lot of changes, a lot of things have moved around. I'm getting used to it, and finding out how to solve things that are new/bugging me. However, I'm yet to find a solution to relative hyperlinks.
I have one Excel Workbook which is my index/summary of a bunch of other spreadsheets/docs. (An example, I have plenty of books with these links!) The index doc shows me where the other information is stored and its status. I want to hyperlink to each of the child spreadsheets/documents, which are in sub-folders of the folder my index workbook is in. E.g. there is one spreadsheet holding the data for each date. Previously, this would just link to "\2022-01-21\dailydata.xlsx". If it was in a parallel folder, it would link to "..\otherProject\docs\mydoc.docx".
Now I'm on M365 and OneDrive, EVERYTHING is linked to the online address for the OneDrive doc, e.g. a link to a file in the same folder as the spreadsheet I'm working on, instead of being "TheOtherSheet.xlsx", is instead linked to "https://my-company.sharepoint.com/personal/my_name_and_company/Documents/Documents/Customers/This%20Customer/This%20Project/Issue%20Tracker/Issue%2001/Data/TheOtherSheet.xlsx"...!!!
Opening old files with relative hyperlinks converts the links to the online target.
Yes, the links still work and open the local file when I'm offline (critical!). However, it doesn't make any sense, and it makes the links harder to quickly check / understand visually. I haven't tested what would happen if I were to move a project folder containing relative references to sub-folders; I'm assuming that OneDrive will fix the links...? Sort of afraid to try.
Is there any way to get the old style relative hyperlinks back?
Update: I've just discovered that when I click on one of these hyperlinks to a file on my PC, it downloads it from the cloud, creating a new file in my downloads folder instead of opening the bloody file on my PC!!!! It also takes me to the SharePoint version of linked folders instead of going to the folder!
For me the following works:
Configure OneDrive to turn OFF "Use Office application to sync Office files" in OneDrive Settings / Office

How to open a file from an absolute path without having to save a copy

So we have our local website to navigate through our drive :
showcase of the website
Here, each button is a link to something on our drive
One of which is a link to a Excel file :
showcase of that specific link
Now, that Excel file contains relative links to PDFs : Relative links inside an Excel
If we click on that button linked to that Excel file from Edge (2nd screen), a prompt appears asking if we want to "Open" the file or "Save as", but the issue is... if we choose "Save as", obviously the links inside that Excel file wont work (unless we save it at the same location), so that's totally normal, the correct option would be to "Open" it.
The problem is that opening a file from Edge... actually doesn't open a file at all, it saves it locally under the AppData path of our machine and THEN opens it.
That means even in that case, the paths inside our Excel file wont work either because they are relative.
I know one solution would be to change all links to absolute links inside that Excel file, but that is a tedious work (because there are a LOT of links, we would have to create a script or something to do that).
So my question is, is there any way to directly open that Excel file from the path specified in the button's link, instead of saving it first locally under "C:\Users\XX\AppData\Local\Temp\MicrosoftEdgeDownloads\f02875af-f436-47bb-b7e5-f3caa96df03f" ?
This is not an issue when using Internet Explorer.
Thank you in advance for any help.
Kind regards,
If you want to allow intranet zone file URL links from Microsoft Edge to open in Windows File Explorer, you can try this Edge policy: IntranetFileLinksEnabled.
Otherwise I don't recommend you to do this, based on the security issues already mentioned.

Manage external data source locations in Excel when sharing the file across Dropbox

When working in Excel, sometimes we have external data sources.
In Windows, these files may be stored in a specific location such as C:\Users\Freelensia\Dropbox\data source.xls
When sharing the main file and the data source file with another person through file-sharing services such as Dropbox, the location of the data source will be changed to:
C:\Users\PeterSmith\Dropbox\data source.xls
(from the view of the Peter Smith user)
This will break the data connection in the main file when Peter opens it. He can reset the path to the one as seen from his computer, but that will break the connection for the Freelensia user when he/she opens it from his/her end.
Is there a way to permanently fix these locations for multiple users? Such that Excel will correctly get the path when the right user opens it.
I am looking for an inherent Excel property if such a thing exists. Else VBA macros (A table with the file paths for each user, and MsgBox that ask the user to choose the user profile). Else a Windows .bat file could work as well.
Thank you for your help.
A trick to this is to move your Dropbox to C:\Dropbox for all users.
To do that, click on the Dropbox icon at the bottom-right, click the Gear Icon, Settings, Sync Tab, then you can move the folder to C:\Dropbox.
If you encounter permission errors, follow the instructions here to reset the permissions:
https://www.dropbox.com/help/desktop-web/move-dropbox-folder
If my understanding is right when ever a different user opens/saves a file the path "C:\Users\xxxxxxx\Dropbox\data source.xls" will be same only "xxxxxxx" in the path will be varying with the active user who has logged in.
So use "Application.UserName" function to get the username and use it in the path mentioned above
Excel uses relative links, even though it shows longer paths in the cells when you look at them. This ends up meaning that if you move the file and the file(s) it is connecting to a different location then the links will still work.
If you put your main file in Dropbox\Excel\main.xlsx and then your data sources in Dropbox\Excel\Data\data sources.xlsx then I think you should be good.
I tested this with Google Drive on two different computers, taking turns opening and modifying the data source and also opening and having the main file update without any issues.
I am not positive if this would work for you in Dropbox, but I really think it should... I am using Excel 2010, so if you are using Excel 2003 (or saving files as .xls instead of the newer .xlsx format) there is a possibility that could cause issues.

VB code to print a file from a third-party application to a network drive without dialogue box

I have a specific requirement in our organization.
We are using a third-party tool to convert excel to pdf. Our excel files contain financial data and charts and the tool converts them to pdf files. Once converted, they are sent for printing.
Now I need to write a vb code which tampers with the printer configuration. After conversion to pdf, when I click on print in the tool, it should not go to default printer to print the physical file, nor should it display the dialog box asking for printer to choose, rather it should pop-up a custom dialog box indicating file being saved in the network drive. The drive and file name should be pre-configured.
I know there are quite a few solutions which caters to this problem of saving a file without displaying the default dialog box but my problem is, I am not printing files from the same application. Files are prepared by a third-party application and print option is pressed from here itself. When the file leaves for printing, I want my code to take effect. In a way, if this application is configured in a computer, no matter which tool you are using to print, the files should get saved to a network drive without popping up the default print dialogue box.
Thanks in advance. Any guidance is much appreciated.

Zip file with .csv extention lost somewhere in filesystem

The file is also locked with winzip and I cant remember the name or directory, I hid it in a very obscure directory. Could be in the windows system files could be in a program directory file. I did a search for all .CSV files I have 4-5K to go through. Any suggestions on how this could be done?
I was opening up files in batches by highlighting a bunch that pressing edit with notepad plus plus. Than going through each one. I know once the file is opened in notepad plus it will not show any words. It is pictures. I own an eCommerce site and I have my master copies that I bought $X,XXX and did not want to take any chances in them be found and resold by other people on my network. Any suggestions?
Opening any zip file in a hex editor suggests that every zip file starts with a data of PK. We can use it in our favour. :)
Download this software: EditPad Pro
What this software does is, it recurses through the whole filesystem starting from a specified base folder to search for any string residing in any of the child files, they maybe Text or Binary, it treats them the same, thus giving accurate results.
In our case, it's a regex: ^PK
When you'll execute this search, the software will return all the files that start with data PK, make sure you do a casesensitive search.

Resources