Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wireless support for VFP9 app
Message
From
15/11/2011 16:36:25
 
 
To
15/11/2011 16:02:59
Hong Yew
People Quest
Malaysia
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01528963
Message ID:
01528970
Views:
98
>Hi all
>
>I have a VFP9 app that my client need to run on a wireless LAN
>
>Occasionally, when the connection is temporarily broken, it will crash my VFP9 app due to invalid database connection handle
>
>Is there a way for me to program a automatic reconnect should the connection handle be invalid from a temporary broken network connection?

1. You could re-architect your app so it only holds VFP data files open for the minimum amount of time, and closes them when finished. However, this will not help if the connection loss means you lose your logon to the remote server. Also it will not help if you lose the connection in the middle of a data update operation. In short, accessing VFP data files across a wireless LAN is a bad idea and will cause problems sooner or later.

2. You could set up a Terminal Server and run the VFP app exclusively on that. Clients then log in to TS sessions across the wireless LAN, which should be reliable enough. TS clients are somewhat network fault-tolerant. Even if the connection is completely lost, the user can log back in to the TS and return to their session, exactly where they left off.

3. If you can't set up a Terminal Server, run LAN cabling. Individual runs can be up to 100m long. Running cable may be cheaper than setting up a TS or re-architecting your app.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform