Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Killing application on all client computers on the network

Posted on 2006-05-15
5
Medium Priority
?
182 Views
Last Modified: 2010-05-01
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.
0
Comment
Question by:wilsoada
  • 3
  • 2
5 Comments
 
LVL 66

Accepted Solution

by:
Jim Horn earned 1500 total points
ID: 16684933
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
 

Author Comment

by:wilsoada
ID: 16685304
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
 
LVL 66

Expert Comment

by:Jim Horn
ID: 16685337
>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
 

Author Comment

by:wilsoada
ID: 16685494
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
 
LVL 66

Expert Comment

by:Jim Horn
ID: 16685520
Thanks for the grade.  Good luck with your project.  -Jim
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question