Re: Detecting installed applications for specific file type



Joseph M. Newcomer <newcomer@xxxxxxxxxxxx> wrote:

>I haven't looked at this in several years, but my memory is that no more than one
>application is regsitered per file extension. So even if you have twenty programs, only
>one is the program that is launched by double-clicking the file of the appropriate
>extension.

One program per function per extension. So for a given extension you
might have one program to print it, one to edit it, one to play the
music embedded within it (to make something up). One of these
functions will be the default function, and that one will be invoked
when a file of the given type is double-clicked in Windows Explorer.

I suspect that, in practice, the same program is used for the
different functions but with different command-line switches, or DDE
commands, or some way of telling the program what to do.

--
Tim Slattery
MS MVP(DTS)
Slattery_T@xxxxxxx
.



Relevant Pages

  • Re: Save text from CList into file
    ... Joseph M. Newcomer ha escrito: ... Why NULL for the default extension when you clearly meant _T? ... See my articles on using FormatMessage in MFC on my MVP Tips site ...
    (microsoft.public.vc.mfc)
  • Re: MMC extension on Model 70s, 16-MHz vs 20-MHz....
    ... "The 32-bit slots include the Matched Memory cycle (MMC) ... extension found on the Model 80. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: Strange bug in irb1.9
    ... Maybe your cleanup code is not thread safe or ... I passed NULL to "free" parameter because I do not allocate memory for ... I have to create a C extension yet, ...
    (comp.lang.ruby)
  • Re: Retieve the Size of my app (or the Name)
    ... You can run an App with just about any extension ... You mean the old 'memory image' trick - true ... so certain features are only run /via/ the DLL using callbacks ...
    (microsoft.public.vb.winapi)
  • Re: List of supported .EnableHyperlinks tags
    ... actually, on reflection, a very good question... ... As an extension to your list (from memory) and assuredly incomplete if not incorrect; ...
    (microsoft.public.fox.programmer.exchange)

Loading