Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winzip location
Message
From
30/01/2005 13:01:10
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982089
Message ID:
00982096
Views:
35
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform