Koen Piller
Programmer
Hi,
I would like to open a word.doc in my VFP application and have therefore constructed:
And nothing, virtualy nothing, happens.
So I replaced lcFilename with
still nothing
needless to say.
- Word is installed on this PC
- Directory archief is found in my path
- File myWord.DOC resides in SYS(5)+SYS(2003)+"\archief"
What possibilities do I have to correct this unwanted behavior?
Regards,
Jockey(2)
I would like to open a word.doc in my VFP application and have therefore constructed:
Code:
DECLARE INTEGER SellExecute in Shell32.dll ;
INTEGER hhdWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin
lcFileName = "myWord.DOC"
= shellexecute(0,"open",lcFilename,"","",1)
So I replaced lcFilename with
Code:
SYS(5)+SYS(2003)+"\archief\myWord.doc"
needless to say.
- Word is installed on this PC
- Directory archief is found in my path
- File myWord.DOC resides in SYS(5)+SYS(2003)+"\archief"
What possibilities do I have to correct this unwanted behavior?
Regards,
Jockey(2)