Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
16-Bit API to start program using associated file...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00217293
Message ID:
00218975
Vues:
27
>>>>>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform