Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting user in another application on Win 95 Network
Message
 
To
06/11/1998 00:12:06
Stephen E Johnson
Johnson & Associates Business Software
Corvallis, Oregon, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00155122
Message ID:
00155165
Views:
22
>I have a client that is networked using Win 95. I would like to be able to identify if a user has a specific application open that must be closed at midnight to avoid problems.
>
>The next step if the above is possible would be to terminate the application if possible.
>
>The application that I am monitoring is an app that runs on the workstations and communicates with a UNIX host so I guess we are talking about some kind of background program running on each station.
>The network is connected using token ring if that makes any difference.

Hi Stephen,

Assuming that you mean that you want to detect if another application is running on the computer, you can use my Is_Run function from the UT download section (under Win32 and other APIs) to retrieve the window handle based on the known portion of the title bar text. Then you can use the SendMessage function (as Ed mentioned) to close it. I wrote an FAQ on this subject that gives all the details.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform