Re: Open a file with standard application from dialog
Fernand Vanrie <[email protected]>
| Newsgroups | gmane.comp.openoffice.devel.api |
|---|---|
| Message-ID | <[email protected]> |
Volker, I uses for years a "handmade" picker dialog who shows in the left preview the content off all grahic files , PDF, txt and al Opendocument types. I can send you the code in Basic, just says where to drop Fernand > I have a file picker as a dialog control. The file name is to be used > as part of a URL text field in Calc. > > I'd like to have a quick look at the file content from within the > dialog (some command button) to avoid mistakes. But the file can be of > any sort (graphic, text, pdf, OpenDocument ...). > > How can I open it with the graphical systems' standard application. I > couldn't find a solution. It should work for Linux (openSUSE 11.3, KDE > 4.4.4) and if possible for Windows (XP or Vista), too. > > I think it must be via some shell command as I find with my > OpenOffice.org 3.2.1 (original version) that any links in OOo other > than to OOo files are opened with the standard _browser_ (bug?). > > Or is it a KDE (Windows ...) question? > > Regards > Volker > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]