Page 1 of 1

Opening xls files

Posted: Thu Mar 17, 2022 6:41 am
by omni
Roger,

if a user does not have excel, he may have some other application that does the same thing. What is best method to just open a file with the default windows application...drawing a blank even though i think I have done it before
or I can call the application if I know it, for example office libre calc. (not sure of the app name right now)


fred
Omni

Re: Opening xls files

Posted: Thu Mar 17, 2022 8:32 am
by reganc
Do a quick search for ShellOpenFile, which was mentioned recently in this board.

It will try to open a file or web url with whatever is the current default application in Windows.

Just pass it the name of your excel file and see what it does...

Re: Opening xls files

Posted: Thu Mar 17, 2022 2:10 pm
by Wolfgang Ciriack
DC_SpawnUrl should do it.