Can anyone tell me why this code doesnt work in VFP 8 when it used to run fine in 7.0 ?
WITH _VFP.ACTIVEPROJECT
> FOR EACH oFile IN _VFP.ACTIVEPROJECT.FILES
cDir = JUSTPATH(oFile.NAME)
{Other Code}
I use this code to setUpPaths for a project so I can run the Main prg and avoid compiling an exe in development mode.
The line demarcated with a '>' above gives an error this error:
'Property FILES is not found'
There is only 1 project open at the time I run this code. Like I said it used to work just fine on any Project in VFP 7 !
Is this some sort of projecthook issue ?
Greg Foote
Software At Work, Inc.