Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File '.prg' doesn't exist.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00400656
Message ID:
00400849
Views:
15
Unfortunately you'll get the same "File MyFile.prg doesn't exist" error message if it's a function or procedure that is missing, since VFP doesn't know which. So the 'noname' file may be a function call that has a space between the function and the () or something equally hard to find.

Ulises, I wonder if you can walk through your app with the debugger? Do you have VFP on the office computer? This way you could find WHERE the error message is being called.

Barbara


>I would create a little PRG to look through all your forms and classes for .PRG Also do a search for .prg in your PRG files.
>lnRetVal = adir(laForms, "*.SCX")
>* repeat above command for "*.VCX"
>for i = 1 to lnRetVal
>   lcForm = laForms[i, 1]
>   use (lcForm)
>   locate for ".PRG" $upper(methods)
>   do while !eof()
>      browse field methods
>      continue
>   enddo
>   locate for ".PRG" $upper(properties)
>   do while !eof()
>      browse field properties
>      continue
>   enddo
>   use
>endfor
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform