someone is crashing my app!

  • Thread starter Thread starter linuxnooby
  • Start date Start date
L

linuxnooby

Hi

I have developed a kiosk booking application using Visual Basic 2005
Express Edition, the application is running on windows XP .NET runtime
2.

One of the end users is able to terminate the application but I am not
sure how to prevent this. The PC has security software disabling Crtl
+Alt+Delete, so it is not that.

Are there any keyboard commands that could be used to kill the
application or .NET? Or is it more likely that the user is leveraging
a bug in the application. What sort of things might cause it to
terminate?

Any comments welcome.

cheers dave
 
Hi

I have developed a kiosk booking application using Visual Basic 2005
Express Edition, the application is running on windows XP .NET runtime
2.

One of the end users is able to terminate the application but I am not
sure how to prevent this. The PC has security software disabling Crtl
+Alt+Delete, so it is not that.

Are there any keyboard commands that could be used to kill the
application or .NET? Or is it more likely that the user is leveraging
a bug in the application. What sort of things might cause it to
terminate?

Any comments welcome.

cheers dave

ctrl-Break ?
 
Hi

I have developed a kiosk booking application using Visual Basic 2005
Express Edition, the application is running on windows XP .NET runtime
2.

One of the end users is able to terminate the application but I am not
sure how to prevent this. The PC has security software disabling Crtl
+Alt+Delete, so it is not that.

Are there any keyboard commands that could be used to kill the
application or .NET? Or is it more likely that the user is leveraging
a bug in the application. What sort of things might cause it to
terminate?

Any comments welcome.

cheers dave


ALT + F4 would close the app.
 
Hi

I have developed a kiosk booking application using Visual Basic 2005
Express Edition, the application is running on windows XP .NET runtime
2.

One of the end users is able to terminate the application but I am not
sure how to prevent this. The PC has security software disabling Crtl
+Alt+Delete, so it is not that.

Are there any keyboard commands that could be used to kill the
application or .NET? Or is it more likely that the user is leveraging
a bug in the application. What sort of things might cause it to
terminate?

Any comments welcome.

cheers dave

Maybe stop relying on the kiosk "security" and filter the key presses
yourself?

This link will take you to an article about hooking the keyboard.
http://www.developer.com/net/vb/article.php/2193301

You can then "steal" all input from the keyboard when your application is
ran and only give input back to the main computer once your application is
closed by typing a passcode or whatever. If you dont want to pass keyboard
info back to windows then just dont use CallNextHookEx() at the end of your
processing/filtering.
 
Hi

I have developed a kiosk booking application using Visual Basic 2005
Express Edition, the application is running on windows XP .NET runtime
2.

One of the end users is able to terminate the application but I am not
sure how to prevent this. The PC has security software disabling Crtl
+Alt+Delete, so it is not that.

Are there any keyboard commands that could be used to kill the
application or .NET? Or is it more likely that the user is leveraging
a bug in the application. What sort of things might cause it to
terminate?

Any comments welcome.

cheers dave

Hi,
There are some 3rd party softwares for killing processes because of
this kind of security privilege issues. You can take a look at these:

http://www.beyondlogic.org/solutions/processutil/processutil.htm

which does the job through command line, once you know the correct
command line syntax you can integrate it into your code with "Shell"
support in vb.net

or this external software:

http://www.softpedia.com/get/System/OS-Enhancements/Kill-Process.shtml

I recommend you to search Google with keyword "process killer" or
"kill process" etc...


And for some virus / trojan / security issues, task manager may be
locked / inaccessible. You can re-enable with tweaking registry:

http://windowsxp.mvps.org/Taskmanager_error.htm

Hope these help.

Regards.
 
ALT + F4 would close the app.

oops.. thanks for that , I have now disabled the alt key

thanks dave
 
Back
Top