How to BLOCK programs from closing in vb.net?

B

Brad Rogers

Is there a way I can modify the properties of a program to BLOCK it from
closing?

Example, its cold, my fingers dont move well, I was typing a dissertation
and somehow hit a shortcut to CLOSE the internet explorer browser window.
all my work was lost. Its impossible to recover the info I was typing.

I would like to make a program that listens to events in win32 and causes a
popup dialog window with an OK button and I have to click a radio button
also then OK to close the program. Ive done this years ago in my vb.net
application but want to listen to any program thats running. permissions
dont matter, arent they assumed priviledged on the system they were created
on?

I could set them as needed in the .net options box



tia
 
J

Jerry Walter

Is there a way I can modify the properties of a program to BLOCK it from
closing?

Example, its cold, my fingers dont move well, I was typing a dissertation
and somehow hit a shortcut to CLOSE the internet explorer browser window.
all my work was lost. Its impossible to recover the info I was typing.

I would like to make a program that listens to events in win32 and causes a
popup dialog window with an OK button and I have to click a radio button
also then OK to close the program. Ive done this years ago in my vb.net
application but want to listen to any program thats running. permissions
dont matter, arent they assumed priviledged on the system they were created
on?

I could set them as needed in the .net options box



tia

Maybe a app that traps the application exit event ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top