Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp 9 memo file missing or invalid on set resource to
Message
From
03/04/2009 02:47:54
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
02/04/2009 22:17:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01392903
Message ID:
01392913
Views:
45
JAG Try deleting all foxuser files and see what happens.

>I have run into issues with a VFP 9 app that we have that has been upgrade from VFP 6 to VFP 9 SP1 with getting periodic "memo file is missing or invalid" error message #41 on lines of code that have "set resource to ("C:\Documents and Settings\UserName\Local Settings\Application Data\Company\Product\myprefscustomfilename.dbf"). I understand from reading that VFP 9 changed things in that it uses the resource file (otherwise known as foxuser.dbf but I use a custom name for it in the app) SHARED instead of EXCLUSIVE as it did in versions before VFP9. Whenever I want to change the data in the file in the app (since I store some data in the prefs for the custom program)
>so I always use this code to update the data
>
>set resource off
>use ("C:\Documents and Settings\UserName\Local Settings\Application Data\Company\Product\myprefscustomfilename.dbf") in 0 shared alias myprefs
>set resource to ("C:\Documents and Settings\UserName\Local Settings\Application Data\Company\Product\myprefscustomfilename.dbf")
>
>any ideas on why I'm getting this and ideas on how to avoid this issue? As far as I know I've looked and the file is NOT open in any workarea when it says the error
Regards N Mc Donald
Previous
Reply
Map
View

Click here to load this message in the networking platform