By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,454 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Capturing Keystrokes

P: 3
Dear reader,

i am in need of help in:

1.disabling Max,Min and Alt+Ctrl+Del keys in VB 6.0

2.Disabling windows shortcut keys for the same in 1 above.

This is for very urgent and immediate purpose.

i would thankfully acknowledge if you could lend me codes in VB 6
May 9 '07 #1
Share this Question
Share on Google+
4 Replies


Expert 5K+
P: 8,434
i am in need of help in:

1.disabling Max,Min and Alt+Ctrl+Del keys in VB 6.0

2.Disabling windows shortcut keys for the same in 1 above.

This is for very urgent and immediate purpose.

i would thankfully acknowledge if you could lend me codes in VB 6
I assume by "Max,Min" you are referring to the minimize and Maximize buttons at the top of the window. These are disabled simply by turning off the MinButton and MaxButton properties of the form. I believe this can only be done at design time.

As for Ctrl-Alt-Del, that's a pretty fundamental Windows interrupt and I doubt that you can disable it. I could be wrong, of course.

I'd suggest you spend some time with the search box up the top of this form, to see whether this topic has been covered here before.
May 9 '07 #2

RedSon
Expert 5K+
P: 5,000
I doubt that you will be able to eat Ctrl + Alt + Del interrupts through VB. It can be done in C/C++ applications when your window is active. I suspect that it could be done in VB but not with out calls to native code.
May 9 '07 #3

Expert 5K+
P: 8,434
Thanks RedSon.

Just a note, apparently we're experiencing "technical difficulties" with the search at the moment. This is expected to be corrected "soon".

(When it is, you should be able to search a specific forum, as well as the whole site.)
May 10 '07 #4

Expert 5K+
P: 8,434
I have a little further info on the search function at TheScripts.

Apparently it can be used, but still has some problems. This includes refusing to let you include words shorter than 3 or 4 characters, and sometimes crashing on long strings.

Feel free to try it out, but keep in mind that it might not work.
May 10 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.