Page 2 of 2

Posted: Fri Sep 24, 2004 5:32 am
by Dogs
I found the problems..
#1 was missing MyEventReceiver receiver; just after main...
#2 I moved the event before main...
#3 I added &receiver..
Works like a champ now..
I probably wouldnt have found this for a very long time if wasnt for your guys help.. Thanks again and I hope it helps others out to read this forum as well as it does for me...

Posted: Sat Sep 25, 2004 2:52 am
by Midnight
alt+f4 will close any program..

that or try using your system manager which is the window you get from ctrl+alt+delete all processes are listed there...

hell take a look at windows keyboard shortcuts one day when your sitting there going out of your mind maybe....heh

Posted: Sat Sep 25, 2004 4:09 pm
by Dogs
Yes alt + f4 will but not everyone knows this lol.. In fact I found it the hard way and did every combo of alt + keys that I could tell I figured it out...
Anyway that isnt very good programming to not have some natural way to close the program..
My examples here when fixed with others help dose work so if anyone wants to add it to there projects your programs users will be able to click on escape to close the program using the code from within the program to close the app insted of windows... Im not sure how other operating systems work but id have to gues that the alt + f4 may not work on all operating systems... So is best to write app termination into your application insted...

Again thanks for all the help ive gotten in this forum..