How can I load files from the EPDM vault without checking them out?

Hello I have the following problem, I have checked in and released components in the vault and must install it again in a new assembly. The components should retain their status. The parts are not always present in the local cache but only in the vault. I've only managed to use the OpenFileDialog to persuade the PDM to cache parts that are not on the cache.
My problem is that I get the filename and path to be used from a table before, and therefore I can not use an openfiledialog which waits for an ok.

SolidworksApi macros