Bryan - Gendev
Programmer
I have this code in my app
FindApp is Trevor Hancock's FindWord.
PROCEDURE Findapp
parameters ext
*~~~~~~~~~~~~~~~~~~~~~
* PROCEDURE FindWord
*
* AUTHOR: Trevor Hancock, , Microsoft Corporation
* CREATED : 08/22/00 11:50:32 AM
I get a True response in the development environment but a False when I run the compiled code as myapp.exe
Has anyone any ideas I can try.
I have used this in my app for 6 or 7 years from memory but have only just tested it again with my latest rebuild. The previous app release still works correctly.
WIN 7 64.
Thanks
GenDev
Code:
Set Defa To (mysystempath)
gotword = FindApp('doc') && Test for Word
gotxls = FindApp('xls') && Test for Excel
readpwini(inifile,'write','System','Word',Iif(gotword,'True','False'))
readpwini(inifile,'write','System','Excel',Iif(gotxls,'True','False'))
FindApp is Trevor Hancock's FindWord.
PROCEDURE Findapp
parameters ext
*~~~~~~~~~~~~~~~~~~~~~
* PROCEDURE FindWord
*
* AUTHOR: Trevor Hancock, , Microsoft Corporation
* CREATED : 08/22/00 11:50:32 AM
I get a True response in the development environment but a False when I run the compiled code as myapp.exe
Has anyone any ideas I can try.
I have used this in my app for 6 or 7 years from memory but have only just tested it again with my latest rebuild. The previous app release still works correctly.
WIN 7 64.
Thanks
GenDev