keepingbusy
Programmer
Hi all
Having sifted through some ShellExecute commands, can someone suggest why this isn't working. I am trying to run an EXE file via VFP6 called wuw.exe which is not a VFP app but starts another process (Web Update Wizard) which in turn down loads updated files / tables. When I use:
thats fine, but you get the old black dos screen. Any suggestions would be greatly appreciated.
Many thanks
Lee
VisFox Version 6 & 9 User / Windows XP
Having sifted through some ShellExecute commands, can someone suggest why this isn't working. I am trying to run an EXE file via VFP6 called wuw.exe which is not a VFP app but starts another process (Web Update Wizard) which in turn down loads updated files / tables. When I use:
Code:
!wuw.exe
[URL unfurl="true"]http://www.mysite.co.uk/subfolder/data/abcdef.txt[/URL]
Code:
DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin
cFileName ="c:\testftp\wuw.exe
[URL unfurl="true"]http://www.mysite.co.uk/subfolder/data/abcdef.txt"[/URL]
cAction = "open"
ShellExecute(0,cAction,cFileName,"","",1)
CLEAR DLLS ShellExecute
Many thanks
Lee
VisFox Version 6 & 9 User / Windows XP