Help W/ Disabling The Windows Key!
I'd like to disable the Windows key, if possible... How would I do this?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Disabling Windows Nt
Okay, it’s driving me nuts and maybe someone knows a good answer to this one...
Windows 9X: With some simple API, you can “lock” a system with your program… disable CTRL+ALT+DEL, disable ALT+TAB, etc. and it’s done.
Windows NT: Not so simple. CTRL+ALT+DEL being a hardware interrupt, nothing can stop it (as I understand), but that’s not that big of a deal, I just want to keep the workstation unusable until the timer says otherwise.
So far, I’ve tried setting a timer to keep my form on top maximized, and that timer also does “FindWindow” for a window titled “Windows Task Manager” and uses SendMessage to close that window.
There has got to be an easier/better way to do this? Any ideas?
Disabling The Windows Key
Is there a way to disable the windows key on the keyboard? The one that looks like the windows logo and its between the ctrl and alt keys. The reason I ask is because I'm making a program similiar to the windows nt and windows 2000 'Lock Computer' thing, but for windows 98. Any help would be appreciated.
Disabling Keys In Windows NT
I have been trying to find a way to disable the windows key, ctrl, alt del, alt and tab,ctrl and esc, alt, esc etc (keys associated with changing programs, so the current window will stay in focus and the user won't be able to focus onto any new windows) within Windows NT.
If anyone could help me with this, it would be much appreciated...
Thank you all in advance.
Disabling Windows Screensaver
How can I disable screensaver in Windows?
This has been asked several times, but I could not find
it through search.
Disabling The Windows Taskbar!?
I am currently writing an app which requires that the operator does not have access to the windows taskbar or graphical operating system.
Could anyone please tell me how to disable the taskbar, or hide it so that the user cannot access it's facilities?
Thanks a lot
Disabling The Windows Task Bar
I want to be able to run only my application on the PC such that the
user cannot access the task bar while my application is executing. Upon
boot up of the PC, my application will be run automatically (through
some sort of batch file placed in the startup folder of Windows) and
while my program is running the Windows taskbar will not be available
to the user. It will only be available when my application has been
Can this be done in VB? Any help would be appreciated.
Disabling The Windows Keys
I need my app to disable the window keys (windows key, windows + tab, ctrl + alt + del e.c.t)
I hav a feeling that i can't disable them but will have to trap them before windows notices they were pressed. Another problem is that i need all the other keys to work (letters, numbers, and enter). so the whole keyboard can't be blocked.
Im tryin to make an app that is similar to a screen saver, it locks the pc until a password is entered (no i don't want to use a screen saver )
Hope someone know
Should I apologize if what I say burns your
ears and stains your eyes?!
Disabling Windows Minimise Button In IE
I have written some code that hides the task bar. Unfortunately, when the IE window is minimised, the window is lost because the taskbar is invisible.
I have had to also disabled the alt-tab keys. The only solution I can think of
is by disabling/hiding the IE minimise button. Please help !
Thanks in advance
Disabling Windows Messenger Popups.
Hello ! I am developing a small anti spyware application, and I am having trouble figuring out how to implement blocking windows messenger popup ads, (those annoying ugly looking ones). Could somone help me out or lead me in the right direction? Help would be greatly appreciated.
How To Disabling Windows Keyboard Controls
Can some one help me in finding a solution to my problem???
I have developed a software using VB6.0 which is running in Windows2000. My
requirement is that when my program is running, user should not be able to
open any other program/window, I mean all the shortcuts to invoke other
programs like desktop statusbar, CTRL+ESC Keys, CTRL+ALT+DEL, ALT+TAB Key
combination, Windows key on keyboard etc should be disabled. And on exiting
from program, all these keys should be enabled. Some sample code would be of
a great help.
Please help me,,this is a very urgent requirement.
Thanks in advance.
Hiding/Disabling The Windows Programs Menu
I would like to ask on how I can hide or disable the Windows programs menu.
I want to completely customize my windows and I dont want to see the Windows Programs Menu.
Disabling And Restoring Windows Default Sounds
if you know ie5, (or 4) you probebly know then it adds a sound to the system that makes a 'click' sound every time you start to navigate a new page.
so.. in my program i have a webbrowser control, and i use it to display many html pages one after the other. so everytime i 'start to navigate' i get a 'kkrrgggggghh' sound of many clicks one after the other.
i can disable the sound from the control panel/ sounds, but i want to disable it in other computers to..
so.... is there a way to make the wb 'shut up'..?
is there a way to temporarily remove the sound from the control panel..
well you get the point (i hope)..
i just want to make the sound quiet..
Enabling/Disabling Start Button On Windows 2000
I am looking for the API(s) and sample code that I can use that will allow me to enable and disable the windows start button. The reason is I am helping a friend of mine whose primary tech support person recently passed away, and he disables the start button upon loging (I assume). I was hoping to:
1) understand how that can happen
2) have a temp solution to enable it to perform some admin task - such as backup the server
Any help would be appreciated. Thank you.
Disabling Subform Without Disabling The Scrollers
I have a subform and i want to disable it so user can't change the values in it. However, I want the user to be able to scroll it since the subform is in Datasheet view and it has quite a lot of fields.
I tried locking it, but the user is still able to see the other options in the combo box and i don't want that to happen.
Is it possible to just disable the data entering or changing in a form directly (i want to be able to change the data through my main form)?
Disabling A TextBox Without Disabling Its Scrollbars.
I have a very simple objective. Disallowing the user input into a TextBox. Its a multi-line one who's text I fill from code. If I set .Enabled to False, that also disables the scrollbars, which is something I don't want. What to do?
Thanks in advance for your help,
Find out what you like doing best and get someone to pay you for doing it.
Disabling A Tab
Dim secSQL As String
secSQL = "Select SecurityLevel " & _
" From Employees " & _
" Where UserName = '" & frmLogon.txtUserName.Text & "'"
Set RS = Conn.Execute(secSQL)
If RS.Fields("SecurityLevel") = 3 Then
SSTab1(1).Enabled = False
the above is code at the form load - the SSTab1 has 2 tabs and i wish to disable the second based on the above condition. However, when i try to run it, it gives this error "wrong number of arguments or invalid property assignment"...what is the correct syntax? Thanks in advance!
OK, so I've got 3 textboxes:
I've also got a cmd button, cmdCalc. Now, I want cmdCalc to remain disabled, until a number has been entered into each textbox. How do I program this?
Guys, how can I disable Alt+Tab or any other kboard shortcut that will switch programs?
Disabling Alt + Tab
I need to know the code for disabled alt + tab when a form is loaded and to enabkle alt + tab when the form is unloaded.
The os is xp professional if it makes any difference.
Disabling The F12 Key
I need to disable the F12 key on the keyboard in a module. So Key_Down or Key_Press is not an option. Let me know if this is possible (API?)
Disabling ALT+TAB On NT
CTRL+ALT+DEL and ALT+TAB can be disabled on Win95/98/ME by using the following
lngResult = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, lngResult, 0)
However this does not work for NT or 2000 or greater. Does anyone know how this can be done.
Is there any way to make a window not to close even when alt+f4 is pressed . my work is for a multi document interface and i need to call one window over the other . when i call the other window to input some data my intention is to make sure that the pop up window remains focussed even though users pressed Alt+F4 to bypass it .
Please help .
Disabling The F10 Key
My application uses the f1 to f10 keys to do something. They all work, however, after f10 does it's thing it also higlights the 1st item on the menu bar. Try it now and see what I mean. Is there a way to disable this "feature" in windows so that f10 only does what I tell it to do? As of right now the user has to press escape to get back to where he was.
Disabling A Sub()
I have a small serial communication program that sends/receives data through RS232 ComPort1. Nothing fancy just 2 text boxes for send and receive. The program monitors the string in the "receive" text box (string comes from another device, via serial port). As soon as the string is equal to a predefined string, i set the "send" textbox.text equal to another predefined string and send it back to the device. Here is the problem:
The monitoring is done by a Private Sub txtReceive_change()
What i need to do is disable that ENTIRE sub when the PC is sending out data. The device the PC communicates with has a loopback/echo, so all the data comes back to the receive box, and the txtReceive_change() sub keeps acitvating, this messes up the transmission speeds.
So how can i disable and then re-enable an entire sub() ???
could anything please tell me how to lock up or disable the keyboard and mouse and enable it again?
I have a project where i have been using .x objects with materials it has all been working great, but now i have to make the ground, i am doing this manually by using vertexes, my problem is what it keeps drawing the vertexes with the last used material.
i could change the matrial for every vertex but this is painfully slow and should not be necessary all i want todo is change the colors of the vertexes no fancy ambients and things this is my vertex type:
Public Type CUSTOMVERTEX
X As Single
Y As Single
Z As Single
rhw As Single
color As Long
specular As Long
tu As Single
tv As Single
Public Const D3DFVF_CUSTOMVERTEX = D3DFVF_XYZRHW Or D3DFVF_TEX1 Or D3DFVF_DIFFUSE Or D3DFVF_SPECULAR
'as you can see my vertex inludes color but is completly ignored by direct x
Is it possible to use GetObject (or something else) to open an Excel file, with macros DISABLED? Basically, I want the vba code to open another worksheet and extract data from it, then close the worksheet without activating the procedure which is connected to the BeforeClose event.
I cannot find anything in the help or in any of the documentation on it.
Thanks in advance!
Disabling Win Sounds
could anyone explain me how to disable windows sounds on errors and validations, o change if is it possible!?
Disabling A Text Box
I am writing a yahtzee program using visual basic.net and was wondering how you would disable the text box to hold the value in the text box itself and then enable it again if you there is a better value in the other text boxes.
Hope this is not confusing.
How can i prevent to Excel to run AutoSave in a spreadsheet. Any way to disable it?
Thanks in advance.
Disabling Key Commands
Is it possible to disable certain key combinations, eg Alt + F11, which opens the VB editor?
Any help would be appreciated.
In my addin I have a custom menu added called AAISim in the top level Excel menu. Under that I have a submenu called User Utilities and under that I have "Generate Data Sets...". I want to be able to disable the Generate Data Sets function in the sheetchange event. What is the correct syntax for this?
Right now I'm trying to do:
CommandBars("Generate &Data Sets...").Enabled = False
When you press return on a txtbox with multiline set to false, it makes the default beep. This can be killed?
Disabling Hot Keys
How do u disable the Start Menu Hot Key on a keyboard (the button with the windows logo on it)?
Disabling The Mouse
I need a way to disable the mouse when my startup form loads, and then reenable it on unload.
I need to do this without clip cursor or turning the cursor into an invisible one. My boss wants the whole mouse disabled while the form is running.
Disabling The Close 'X'
Part of my program requires a password to be entered and i have made a form for this. however i dont want the user to be able to close the window using the close or 'X' in the tpo right of the window. is there a way of disabling this?
I have four checkboxes for a quiz.
I want the user to be able to select 2 out of the 4 checkboxes only. e.g. the user can only select checkbox 1 and 2 and if they try to select checkbox 3 aswell then they get a message saying they are only allowed to select 2.
I have used this code in each of the checkboxes but it seems to be having no effect:
Private Sub Check1_Click()
If Check1.Value = 1 Then
i = i + 1
If i > 2 Then
MsgBox "You must only select two boxes!"
Let Check1.Value = 0
i = 2
i = i - 1
Private Sub Check2_Click()
If Check2.Value = 1 Then
i = i + 1
If i > 2 Then
MsgBox "You must only select two boxes!"
Let Check1.Value = 0
i = 2
i = i - 1
This is the same for checkbox 3 and 4 too.
Can anyone tell me why this is not working?
I have a quiz and in one form i have four checkboxes. I have coded it so if the user checks the 2 correct boxes then one is added to the score:
Private Sub Picture1_Click()
If Check1.Value Then Score = Score + 1
If Check3.Value Then Score = Score + 1
However, what i have found is that the user can actually check all four boxes and therefore increase the score - which obviously shouldnt happen.
Is there any way i can limit the user to checking only two checkboxes? Any source/samplecode would be great.
What i mean is that the user could select CheckBox1, CheckBox2, CheckBox3 and CheckBox4 all at the same time.
What i want to do is to allow the user to only select two checkboxes in total. For example, if the user selects CheckBox1, then this means he has to select only one of CheckBox2, CheckBox3 or CheckBox4.
i am new to VB but i know the basic things, i am doing it at A level in college.
what code would i use to do something along these lines;
i have 2 options and 6 checkboxes, if i select one option 2 of the checkboxes are disabled, and if i select the other then the 4 remaining checkboxes are disabled?
any help would be greatly apreciated
(i oppologise in advance if this is the wrong section to be posting in)
If I execute this control...
Private Sub cmd1_Click()
dummy = DoEvents()
' statements use to detect input and hence compare them
The application will execute the do loop, how can I stop the do loop...???
If I put a another control(button) to disable the control(button), will the loop still continue
Disabling The Tabstrip
I need to disable the tabstrip until a user presses a command button, this I can manage, but the tabstrip doesn't change its apearence at all and I was thinking that the user may not realise it is disabled or not.
Basically my question is - can you change the font colour on the tabstrip at all? I was hoping to grey out the text so that it actually looks disabled. I have looked around and it isn't looking promising, hopefully somebody out there can prove me wrong.
P.S. I can't really use SStab as I am working on a project that has already been started by somebody else and to change from the tabstrip they used to an SSTab control would take a lot of effort and me being the lazy guy I am - not an option and besides I can't seem to find it
Does anyone knows how to hide program in tasklist which pop's up by pressing Ctrl + Alt + Del. in Windows XP / 2000 ?