Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert 3.0resource to 6.0 format
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00591658
Message ID:
00591660
Views:
39
>Hi.
>I am getting this message up , from a folder , where I hve two apps running, one from FPW 2.6 and one from VFP 6.
>
>I remember that a solution is to use a command line switch and a resource setting but am unclear as to exactly where to put these.
>( Is it Config.fpw or Foxuser ???? and what to do with them)

The problem is that they share a common FOXUSER (the resource file); you can fix this by having different CONFIG files for each product; the control coming from either the command line switches or by embedding the CONFIG.FPW in the compiled VFP app.

Another alternative, which is a bit neater, is to include RESOURCE=OFF in the comon CONFIG.FPW, and then have each app select a resource file during it's initialization, assuming that you use things contained in the resource file. There's no rule stating that the resource file must be named FOXUSER.DBF; you could have two mutually-exclusinve FOXUSER files, one named FOXU2_6.DBF, and the other named FOXU6_0.DBF, and have your app SET RESOURCE TO the appropriate file during startup.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform