There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot computer connection crash css dell drive driver drivers email error ethernet excel explorer firefox firefox 3 hard drive internet internet explorer itunes laptop linux malware monitor network networking outlook outlook 2003 outlook express password printer problem problems ram router security slow software sound trojan usb virus vista windows windows vista windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
A way to prevent users from killing an application?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
deuce's Avatar
Computer Specs
Distinguished Member with 7,851 posts.
 
Join Date: May 2001
Location: Collegeville, Minnesota
Experience: Mechanical Engineering Ninja
23-Jul-2008, 11:39 PM #1
A way to prevent users from killing an application?
Hi,

I need to find a way, if possible to prevent operators from closing an application. The application has a traditional GUI so all the operator has to do is click the X.

The program (QC-CALC) has password protection to lockout the toolbar, etc, but even when locked you can still terminate it.

I know restricting access to the task manager will stop operators from killing it that way, but since it is always running in a visible window all it takes is that hitting that X. There is a link in the startup folder for the program, so it starts with windows.


So...I've been doing some thinking on this. Can I make a windows service that makes QC-CALC depend on some other arbitrary windows service so that the OS won't let it terminate?



Basically...any comments on that brainstorm, or, more importantly--any real suggestions that will work would be greatly appreciated.

If it requires writing code, I would prefer writing it in C++. As a mechanical engineer, I'm inherently not proficient with programming...but although my C++ is rusty I can get by.



So, with that said:

Workstation is running Win XP Pro SP2.

The application I'm trying to prevent operators from terminating is QC-CALC from Pro-Link.

v.3.0.282

http://www.prolinksoftware.com/specific.aspx?type=rt


Thanks
__________________
Hey look--there it is again! It's the invisible hand of the market giving me the finger!


With a bit of luck, his life was ruined forever. Always thinking that just behind some narrow door in all of his favorite bars, men in red woolen shirts are getting incredible kicks from things he'll never know.

Remember what the dormouse said

Mike - Facebook me
Squashman's Avatar
Distinguished Member with 12,698 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
24-Jul-2008, 12:01 AM #2
Does the user need to interact with the Application. If not, there are ways to launch the application hidden.

This costs money but seems to do what you want.
http://peccatte.karefil.com/Software...sableClose.htm

You may be able to do it with this as well.
http://www.codeproject.com/KB/tips/disableClose.aspx
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - Windows Shell/User
deuce's Avatar
Computer Specs
Distinguished Member with 7,851 posts.
 
Join Date: May 2001
Location: Collegeville, Minnesota
Experience: Mechanical Engineering Ninja
24-Jul-2008, 02:05 AM #3
Quote:
Originally Posted by Squashman View Post
Does the user need to interact with the Application. If not, there are ways to launch the application hidden.

This costs money but seems to do what you want.
http://peccatte.karefil.com/Software...sableClose.htm

You may be able to do it with this as well.
http://www.codeproject.com/KB/tips/disableClose.aspx

No, the user does not interact with the application at all. The application is a statistical SPC package that collects data from linked CMM software (for this application, Pro-Measure is used), which collects data from a CMM machine (coordinate measuring machine, for this application is a Vision system).

The operator interacts with the physical hardware (Vision system--mounting the part) and interacts with the CMM software (Pro-Measure--running the measurement code)

Pro-Measure uses a footer in the program code to send all of the collected data to QC-CALC.


Long story short, the operator does not interact with QC-CALC, does not need to--and the less they see the better. One operator went so far as to delete the license for QC-CALC, so it is running in trial mode until it expires/gets fixed.



Launching the application hidden would be great. It would be nice to also prevent terminating it, but that would be a bonus if I can get it to run hidden.
__________________
Hey look--there it is again! It's the invisible hand of the market giving me the finger!


With a bit of luck, his life was ruined forever. Always thinking that just behind some narrow door in all of his favorite bars, men in red woolen shirts are getting incredible kicks from things he'll never know.

Remember what the dormouse said

Mike - Facebook me
deuce's Avatar
Computer Specs
Distinguished Member with 7,851 posts.
 
Join Date: May 2001
Location: Collegeville, Minnesota
Experience: Mechanical Engineering Ninja
24-Jul-2008, 02:17 AM #4
That first link may work, and $65 to prevent a $1,500 application from being terminated is pretty cheap. 4% at that point.


Launching it hidden would be best. Would the only way to terminate it at that point be ending the process from the task manager? Could you lead me in the right direction in setting up this application to launch hidden?
__________________
Hey look--there it is again! It's the invisible hand of the market giving me the finger!


With a bit of luck, his life was ruined forever. Always thinking that just behind some narrow door in all of his favorite bars, men in red woolen shirts are getting incredible kicks from things he'll never know.

Remember what the dormouse said

Mike - Facebook me
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:25 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.