I could probably make a trojan out of it. That's like making a boat out of lead.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
I'm not making a virus lol. I'm building a guest registration system where only an admin can exit the program so that customers can't fiddle around outside the program. And I can't get that extension to work on "my" copy of MMF2
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
6th November, 2008 at 09:59:56 -
1. Viruses are very possible in MMF!
2. Here's how you disable Alt+F4:
In your application properties, under Window > Style, tick the box "Disable Close Button." Next, go to your application's menu and go to the shortcut for close (Which is Alt + F4). Remove the shortcut and it will be unable to be closed with Alt + F4.
There's also an event in MMF2 that intercepts Close commands.
Special > Application Window > Close Window has been selected
If there's an action under this event, the program won't close through Alt+F4 or by clicking the X button, but will perform those actions instead. (like showing a password window). It won't stop people from killing the process from the Task Manager though.
I made a program that was just a big red button that said DO NOT PRESS, then when you clicked it it made a buzzing noise then shut down your computer and didn't let you save any work you had open at the time
And I made one that flashed violent colours on your screen really fast and made the internal soundcard in the computer beep constantly, getting higher and higher and it looks and sounds like your computer is about to explode
The best way to do this would be to disable the windows key, ctrl-Alt-Delete, and Alt-F4
If there is a way to shutdown your program someone will find it.
What you need to do is alter the registry key
"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr" set DWORD value to 1
that will disable the task manager so that ctrl-alt-delete will not work.
Disable Close Button to Disable an Alt-F4 exit
and then you need to shutdown the "explorer.exe" process to disable the windows key and all other related hotkeys including volume adjustment.
Use the Registry object to manipulate the registry
And the Process Viewer object to close explorer.exe (Note: you may need to close it every second as windows sometimes attempts to restart it)
Also, I don't know how well this works on Vista
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
7th November, 2008 at 06:59:54 -
It's a good thing none of us have ever been involved in virus production... right UrbanMonk?