Uwe Stöhr wrote: > Hello Angus, > > I implemented the check for a PS viewer:
Well done. > I tested it for the registry combinations > a=acrodist + b=gsview32 > a=gsview32 + b=acrodist > a=acrodist + b= > a=gsview32 + a= > > and it works perfectly. So please apply. > regards Uwe Before I do so, perhaps you might look at SearchMinSYS which uses a loop to iterate over the elements in the registry. Would such a strategy not simplify your code too? -- Angus