Thanks to all for your responses. Thanks to Trey Patillo for his program.

__________________________________________________

Sophie Coubes
Conseillere en Geomatique
GIS Consultant

KOREM Inc.   (http://www.korem.com)

GEOdiffusion de l'information
GEObroadcasting your information
__________________________________________________

680, Boul. Charest Est
Quebec  (Quebec)  CANADA  G1K 3J4
tel.: 418 647-1555
fax : 418 647-1666
Telephone sans frais : 1 888 440-1MAP
__________________________________________________

Meilleur nouveau partenaire Mapinfo 2000 - Amerique du Nord
Best Mapinfo New Partner 2000 - North America
__________________________________________________

Push'n'See! Developed by KOREM  http://www.pushnsee.com
The Web-Mapping Software for Entreprise-wide Depoyment


-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Trey
Pattillo
Envoy� : 5 juillet, 2001 23:39
� : MapInfo List
Objet : Re: MI-L find software directory


Hello,

To everyone else -- Scoubes got his sent direct

NO ATTACHMENTS ON LIST -- EMAIL IF YOU WANT A COPY RegIni.DLL

I HAVE NOT FINISHED REBUIDLING THE MACHINE [software] TO PUT IT ON THE WEB
SITE

>>ATTACHED: RegIni.zip [pkzip format]
>>INCLUDES: RegIni.DLL for read/write to Ini/Registry and Hex2Int
>>                        MB/MBX demo that has instructions at the top

when you get back the path\name just
run it thru a loop deleting the end character until the last one is "\"
[the MB extract path may not work if %1 and "" are in the string....I didn't
try it]

If WinZip has been installed and registered it is in here:

My machine has HKEY_CLASSES_ROOT\WinZip\shell\open\command
key=[Default]
Data=c:\winzip\winzip32.exe "%1"

Also in
HKEY_CURRENT_USER\Software\MicroSoft\WindowsNT\CurrentVersion\Extensions
[I use NT]
is a list of registered extension so you could look for
Key=ZIP
and get the Data=C:\WinZip\winzip32.exe ^.ZIP

Also hear you could to TAR GZ etc.....if you user has file other than ZIP

There is also HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\Programs
also HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinZip\shell\open\command
also HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths\Winzip.exe
and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths\Winzip32.exe
and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft|windowCurrentVersion\Extension........
...[see above]
and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft|windowCurrentVersion\File
Manager\AddOns
        Key=WinZip

NO WONDER WINDOZE GETS TIRED AND DIES SO OFTEN
...... I left all out of the class info stuff [10-15 of them] like
{1023-1234-123123123-123}



----- Original Message -----
From: "scoubes" <[EMAIL PROTECTED]>
To: "'MapInfo-L (E-mail) ' (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 10:08
Subject: MI-L find software directory


> Hi all,
>
> I need, in my mapbasic program, find the path of a particular software
> (winzip32.exe), and put it in a string variable (var =
> "c:\........\winzip32.exe").
> What is the function (dll?) that can do that?
>
> Thanks in advance,
>
> __________________________________________________
>
> Sophie Coubes
> Conseillere en Geomatique
> GIS Consultant
>
> KOREM Inc.   (http://www.korem.com)
>
> GEOdiffusion de l'information
> GEObroadcasting your information
> __________________________________________________
>
> 680, Boul. Charest Est
> Quebec  (Quebec)  CANADA  G1K 3J4
> tel.: 418 647-1555
> fax : 418 647-1666
> Telephone sans frais : 1 888 440-1MAP
> __________________________________________________
>
> Meilleur nouveau partenaire Mapinfo 2000 - Amerique du Nord
> Best Mapinfo New Partner 2000 - North America
> __________________________________________________
>
> Push'n'See! Developed by KOREM  http://www.pushnsee.com
> The Web-Mapping Software for Entreprise-wide Depoyment
>
>
>
>
> _______________________________________________________________________
> 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.



_______________________________________________________________________
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.



_______________________________________________________________________
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