Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch from VFP
Message
 
 
To
04/06/2002 22:01:37
General information
Forum:
Visual FoxPro
Category:
InstallShield
Title:
Miscellaneous
Thread ID:
00664801
Message ID:
00664904
Views:
32
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform