Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launch from VFP
Message
 
 
À
04/06/2002 22:01:37
Information générale
Forum:
Visual FoxPro
Catégorie:
InstallShield
Titre:
Divers
Thread ID:
00664801
Message ID:
00664904
Vues:
31
>I know this must have been asked a million times before but I'm gonna do it again. How can I launch InstallShield from within a VFP app? Also, is it possible to open a specific InstallShield project when I launch InstallShield?

The project files are usually in My Documents\MyProjects:
local lcFile
lcFile = GETFILE('ISM')
IF EMPTY(lcFile) OR JUSTEXT(lcFile) <> 'ISM'
   RETURN
ENDIF
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
    INTEGER hwnd, ;
    STRING lpVerb, ;
    STRING lpFile, ;
    STRING lpParameters, ;
    STRING lpDirectory, ;
    LONG nShowCmd

=Shellexecute(0,"Open",lcFile,"","",1)
CLEAR DLLS
RETURN
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform