Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winzip location
Message
De
30/01/2005 13:01:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00982089
Message ID:
00982096
Vues:
32
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all,
>
>I need to locate the WinZip dir if it exists. ( folder with winzip32.exe )
>
>
>thank in advance for the answer
>
>bernhart

You could try FindExecutable() api:
DECLARE INTEGER FindExecutable IN shell32;
    STRING lpFile     , ;
    STRING lpDirectory, ;
    STRING @lpResult

* string to hold path to file for which exe is required
lcMyFile = "c:\temp\mytest.zip"

* string to hold result
lcResult = SPACE(250)

* find location of associated file
lnResult = FindExecutable( lcMyFile, "", @lcResult )
I think I found this on http://www.news2news.com/vfp
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform