Hi all
I want to find out in advance what application shellexecute will invoke for a given file type (e.g.TXT, XLS, DOC) etc. or indeed if there is no default application for the file type in question.
Any ideas ?
Many thanks
Paul Newton
http://fox.wikis.com/wc.dll?Wiki~AssocQueryString
You can do it with the registry approach but it is unreliable is unreliable in Windows 8.1 onwards and you should really use the Win32 API calls to AssocQueryString.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke Sent: 28 March 2017 16:32 To: profoxtech@leafe.com Subject: Re: Default application for shellexecute
http://fox.wikis.com/wc.dll?Wiki~AssocQueryString
Oops!
Just seen that Alan has pre-emptied my post!
Sorry
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Dave Crozier Sent: 28 March 2017 16:54 To: ProFox Email List profox@leafe.com Subject: RE: Default application for shellexecute
You can do it with the registry approach but it is unreliable is unreliable in Windows 8.1 onwards and you should really use the Win32 API calls to AssocQueryString.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke Sent: 28 March 2017 16:32 To: profoxtech@leafe.com Subject: Re: Default application for shellexecute
http://fox.wikis.com/wc.dll?Wiki~AssocQueryString
Thanks anyway Dave
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Dave Crozier Sent: 28 March 2017 16:55 To: profoxtech@leafe.com Subject: RE: Default application for shellexecute
Oops!
Just seen that Alan has pre-emptied my post!
Sorry
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Dave Crozier Sent: 28 March 2017 16:54 To: ProFox Email List profox@leafe.com Subject: RE: Default application for shellexecute
You can do it with the registry approach but it is unreliable is unreliable in Windows 8.1 onwards and you should really use the Win32 API calls to AssocQueryString.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke Sent: 28 March 2017 16:32 To: profoxtech@leafe.com Subject: Re: Default application for shellexecute
http://fox.wikis.com/wc.dll?Wiki~AssocQueryString
Brilliant - exactly what I wanted - Thanks Alan
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Alan Bourke Sent: 28 March 2017 16:32 To: profoxtech@leafe.com Subject: Re: Default application for shellexecute
http://fox.wikis.com/wc.dll?Wiki~AssocQueryString