Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Network drive problem
Message
From
05/12/2002 05:41:27
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00729680
Message ID:
00729811
Views:
22
>Looks like I patted myself on the back too soon. It turns out that the program will run on only one machine at a time. If I start the EXE on both the server and the workstation, only 1 will work. Once a form opens a table, the other machine will not open any forms. The main menu on both machines is visible. I double checked to make sure the tables were opened NON-exclusively.
>Any other ideas would be greatly appreciated.

SWAG; are you using a common FOXUSER.DBF resource file? If so, then the resource file (both FOXUSER.DBF and FOXUSER.FPT) must be marked as Read-Only, or only the first user will be able to open the file regardless of how SET EXCLUSIVE is assigned. Another alternative, if you don't rely on things in the resource file, would be to turn off the use of the Resource file entirely (via RESOURCE=OFF in the CONFIG.FPW) and then the issue of whether or not FOXUSER exists and is/is not read-only goes away.

>
>
>>Well, I finally figured it out. This may make sense to people who program for a living but not to me.
>>I was testing this on my home network. VFP was running on the "server" and I was testing the EXE on my laptop (part of the network). As long as VFP was running on the server, the EXE would not run. As soon as I closed VFP, everything worked fine. Have I discovered a bug, or am I just stupid? (Don't answer, please.)
>>Since I solved the problem, can I have myself 3 stars?
>>
>>Thanks so much for all you time and help.
>>Ken
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
Reply
Map
View

Click here to load this message in the networking platform