Can anyone tell me how I can attach code to it?
At the moment when it is pressed it shuts down the program (which is fine) but doesn't do it correctly.
Can anyone help?
Printable View
Can anyone tell me how I can attach code to it?
At the moment when it is pressed it shuts down the program (which is fine) but doesn't do it correctly.
Can anyone help?
Try Form_Unload & Form_QueryUnload.
To do stuff when your form unloads you need to put your code in the Form_Unload or Form_QueryUnload events ;)
Too slow... lol ;)
Ok great. Thank you. I'll give it a shot.
That would have to go down as the fastest response ever.
EDIT: YAY it worked.
Hah HA!Quote:
Originally posted by manavo11
Too slow... lol ;)
Snatch pebble from hand of the master (Of typos).....