>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