Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AutoClose VFP app thru WinEvent
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01071549
Message ID:
01071831
Views:
20
>If I were you, I'd just setup the utility to shutdown the computers in network remotely via brodcasting network message.
This way, your application will be closed for sure ;)

Sorry, I didn´t say I wanted to shut down the computers, but the VFP apps only!

>also, you can bindevent() your application to windows event like File Creation in certain folder (not sure if such a windows message exist) so your app will be closed as soon as windows will receive this notification.

Well, dunno how to check for this event and this seems more like a crutch than hooking a timer onto a MU table.shutdn field and setting it to TRUE from the client in command.

In the meantime this NET SEND command for sending messages across the network came to my mind again and I´ll check the docs how to bind the VFP app to this. If you know the code for this off the top of your head you´re welcome.

Thanks anyway
G
Previous
Reply
Map
View

Click here to load this message in the networking platform