Killing application on all client computers on the network

I have a small GUI application written in VB6 that connects over a small Windows XP office network to an access DB located on one of the office computers using ADO. Usually 10 people or so are running the application and I have to ask them all to turn off the application. I would like to be able to add a button into the GUI that finds all computers on the network using the application and then ends the program there so that there are no open connections to the DB and no running applications.
wilsoadaAsked:
Who is Participating?
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
One way to pull this off would be to have an .ini file somewhere with a value, that your app checks every X minutes, and if it is set to a certain value when it's checked run a procedure that goes something like 'You will be booted out of this app in Y minutes"

0
 
wilsoadaAuthor Commented:
HAHA slick way to do it I can set the .ini file to a certain value and all other apps if see this value will then close themselves out. This will definitely work but I am wondering if someone else has a more professional way to do this by actually finding the computers running the apps and shutting them down individually. I will wait awhile before awarding the points here as this solution doesn't really answer my questions although it does solve my problem I should have thought of this. If anyone answers those questions they will get the points.
0
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
>if someone else has a more professional way to do this by actually finding the computers running the apps and shutting them down individually.
afaik this is not possible, and if it was it would border on virus writing, so the answer wouldn't be published here.

If your app logs all user startups somewhere, you would have that, but not the ability to actually enter into their session and close the app.
0
 
wilsoadaAuthor Commented:
Well its not a virus its just some in house software I am running on 10 machines. I guess what i will do is create a user log and use a .ini file to have the applications shut themselves down. I think your missing the point jimhorn but its no big deal I figured a work around of the situation.
0
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Thanks for the grade.  Good luck with your project.  -Jim
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.