I hope someone has a better solution because the only things I can think of are:
1) Create a timer in your app that periodically accesses the network drive (maybe checks for the existence of a file or writes one or gets the time or whatever).
2) Check the client configuration (how it handles timeouts). In Novell for instance, you can configure the amount of time before the client software forces a reconnect to the server. I do not know how wireless works for maintaining connections though. I know that at home to keep my ip address from dropping I have my email check for new email every 5 minutes which is similar to how adding a timer to your vfp app would work...
>I have a VFP app running on PC tablets (OS is WIN2K pro) on a wireless connection. The App can sit idle for from 5 minutes to 2 hours depending on usage. During the idle time, the connection to the network drives where the data resides will drop and cause a program error.
>
>If I look at the network drive in windows explorer I see a red "X" under the drive connection icon.
>
>Is there a way to stop this timeout? Or is there a way in the VFP app to keep the connection open? I use SQL statements to draw the correct data from VFP tables on the network, so there is no constant connection to the network drive.
>
>Thanks
>
>Alan Wyne
>IS Manager
>Rollpak Corp
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"