scoubes wrote:
> My problem is that I want to install my program in many computer and I don't
> know if Winzip is always at the same place.
> 
> Any ideas?
> 

This might help you:

Declare Function FindExecutable Lib "shell32.dll" Alias
"FindExecutableA" (
  ByVal lpFile As String,
  ByVal lpDirectory As String,
  lpResult As String)
  As integer

'lpFile is the filename of any *.zip file
'lpDirectory is it's path
'lpREsult is filled with full path and exe name of program that
opens zip files
'Returns value > 32 on success; codes returned on error include:
define ERROR_OUT_OF_MEMORY 0
define ERROR_NO_ASSOCIATION 31
define ERROR_FILE_NOT_FOUND 2
define ERROR_PATH_NOT_FOUND 3
define ERROR_BAD_FORMAT 11

-- 
- Bill Thoen
------------------------------------------------------------ 
GISnet, 1401 Walnut St., Suite C, Boulder, CO  80302
tel: 303-786-9961, fax: 303-443-4856
mailto:[EMAIL PROTECTED], http://www.ctmap.com/gisnet
------------------------------------------------------------



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to