Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I access local com ports with Terminal server?
Message
From
15/11/2003 23:54:12
 
 
To
14/11/2003 20:10:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00850167
Message ID:
00850384
Views:
18
Cannot do with current ver of TS. I have need to open a Cash Till connected to local computer from a TS session. But you cannot access the ports directly.

My solution in this case was to have a VFP app running on the local computer, polling a particular directory. Then from the TS session I copy a dummy file across to signal that the Till is to be open. My VFP app then deletes this file and opens the till.

One gotcha with this type of file based control, is that that the VFP app may be too quick for the Network.

Win copies the file by first creating the file name and then moving the data across. While doing this the VFP app grabs hold of the file( before it is completely copied across) and then there is a deadly embrace with neither the OS nor VFP releasing the file. Only option then is to shutdown the app and restart.



>I have an application that needs to send and receive data from hand held data collection devices via the local com port when the application is running under Citrix or terminal services. Is this possible? How do I configure TS or is there something different that has to be done in code to access local com ports and resources when running under TS?
>
>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform