>>>>>Sure thing, BOb. Here 'tis:
>>
>>Code George gave me cut:
>>
>>George...
>>
>>Wanted to say thanks again for this info and code. I have modified our system to launch word using this API and so far we have tested the code and it works in 95/98/NT... we just have to test it on 3.11.
>>
>>I have one question though... I didn't pass any path, just passed winword.exe.... How does ShellExecute know where to find the ap to launch?
>>
>Hi BOb,
>
>I'd assume that it searches the registry. That's were the association are stored. Even 16 bit Windows has registry functions.
Yep - it searches HKEY_CLASSES_ROOT for the extension.