Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 code that doesnt run in 8
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP 7 code that doesnt run in 8
Miscellaneous
Thread ID:
00771062
Message ID:
00771062
Views:
51
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.
Next
Reply
Map
View

Click here to load this message in the networking platform