Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verifying location from WinZip addon DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
01092511
Message ID:
01092552
Vues:
13
Terry,

Probably you can go this way:
1. first find the Application NAme associated with "zip" extension, which should give the fullpath of winzip.exe (you may find the code here);
2. then having the fullpath you may start search in the directory and its subdirectories for specified file.



>My project is required to work with content packaged in zip files. My client sent me their "full" version of the Winzip command line service.
>
>I would need to test for the existance of the DLL and then path it in a "ShellExecute". The "entire" path is required to make the "wzcline" call.
>
>I am entertaining string the path to the winzip folder with the "wzcline" DLLs - but that seems so retro. Should expect Winzip and wzcline to always be under "Program Files\Winzip"?
>
>Is there a way to determine where "wzcline" is? I could add a GETPATH() call and let the user "browse" for the location as part of a start up configuration - but there must be a smarter way.
>
>Thanks
>Terry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform