Hi all,
I am looking for a solution to this problem. I want to let the user open files from my Servoy solution running in the standalone client. I have access to the paths to the files, which could be pdf, doc, xsl or other image documents, but I can’t find a decent solution that opens these files in their respective programs.
Searching for a solution, so far I have encountered these possible approaches, but none of them seem to do exactly what I need:
- display a list of files in a folder (or show an open file dialog)
- user clicks on file from list and it opens in its native application (Adobe Acrobat, Word, Excel etc.)
- works in standalone client
In the current implementation of the ‘file’ plugin for Servoy’s Web-client the client “will open the file directly in the appropriate application” after showing the open file dialog. This sounds like what I need, but as far as I can tell this only applies to the web-client.
http://wiki.servoy.com/display/Serv51/newFeatureHighLights
Cybersack’s OLE plugin also sounds like a good solution, but unfortunately all the links to the plugin in this thread are dead and I haven’t been able to find an alternative source.
https://www.servoy.com/forum/viewtopic.php?t=5164
IT2BE provides several plugins that deal with different file types, but the expense of licensing several of these plugins isn’t feasible at this point.
The most likely candidate is ServoyGuy’s COM plugin, although I am not sure at this point if it is easy to implement the automatic detection of filetypes (to open the file in the appropriate software).
http://www.servoyguy.com/servoy_components/servoy_com_plugin
If anyone has a decent solution for this problem, any help is greatly appreciated.
Thanks,
Micah