VS 2008 Disabling Ctrl+alt+delete?
Jan 11, 2010Is it possible to disable ctrl+alt+delete in code? Can anyone post an example?
View 15 RepliesIs it possible to disable ctrl+alt+delete in code? Can anyone post an example?
View 15 Repliesim using dotnetbar tabcontrol as it has the capability to make your GUI looks better than the default tabcontrol of visual studio. my problem is that i cant disable the Ctrl+Tab Shortcut Key for TabControl. i tried this code
Public Class Form1
Protected Overrides Function ProcessCmdKey(ByRef msg As Message, ByVal keyData As Keys) As Boolean
[Code]....
but it only works using tabcontrol(vs2008 default) not the tabcontrol from dotnetbar. i've read somewhere that, that code will only works using System.Windows.Forms, so i think that is there a way for TabControl(dotnetbar) to inherits the System.Windows.Forms, any other solution? i need to disable the Ctrl+Tab because i used Tabcontrol as wizard type in registration.
I'm creating a simple form that could capture keystrokes. How can i capture CTRL-ALT-DELETE key when pressed together so as not to go to the task manager, in short I want to disable any function when the three keys is pressed. I tried to use the keydown event , detecting the three keys when pressed then set e.handled = true, but still it wont work
View 2 Replieshow would you stop someone using the alt key, like alt+F4, alt+ctrl+delete OR alt+tab
View 11 RepliesIs it possible to catch the combined key presses of Ctrl-Alt-Delete so that event can be handled?
View 9 RepliesWell, the title says it all this time. After I click "yes" on a msgbox,I want to launch the Windows Logon Screen that I can normally launch by pushing Ctrl+Alt+Delete, so how would I do this programatically, or if there's any way to launch that Windows Logon Screen I wouldn't mind.
View 6 RepliesI created a Security Log On that starts when i turn the computer On.Like the Windows Log On.
I managed to disable alt+F4, alt+tab, window key, ctrl+esc, but i have only one problem disabling the task manager or the CTRl+Alt+Delete Button, is there a way or any codes to disable this? im using VB.net 2005.
how can i stop ctrl alt delete f4 windows task manager in my application
View 6 RepliesI am using a 3rd part dll file (SolidWorks EModelView.dll, COM file) that has a version of 9.2.0.128. When I add it to the resources for the application, however, the AxInteropEModelView.DLL and InteropEModelView.DLL references show a version of 9.0.0.0. When I install the application on a client machine and try to run it, the application says it cannot find AxInteropEModelView.DLL version 9.2.0.128!
View 5 Replieshow do i call a routine when the user press CTRL+Z or ctrl+somthing?
View 10 Repliesusing the getasynckeystate for ctrl + c and ctrl+ v or copy and paste..How will I do that in this code? For example when i type in notepad it should also do in the richtextbox with this code it work but when it comes to copy and paste word in notepad it does not works and the richtextbox is empty?
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
For i = 1 To 255
result = 0
result = GetAsyncKeyState(i)
[code]....
I am using visual studio 2005.If I try to do wordwrap using Key combination (ctrl+R, ctrl+R), I get following messege:"The Key combination (ctrl+R, ctrl+R) is bound to command (&Rename...) which is not currently available.
View 3 RepliesI am using vb2005 to send keystroke to stock application software so i need to send Ctrl+C to an open window in the stock software then send Ctl+V to Excel in a specified worksheet and cell
View 2 RepliesI noticed that ctrl-c and ctrl-v are not working in my project. I am using VB2008 and have an MDI project. The child forms have textboxes but I cannot use the shortcut.
View 3 RepliesHow do I disable CTR+C in a richtextbox?
View 1 Repliesi did a program on VB 2008 Express Edition but id like to add a feature.Id like that my program could be only accessed if you had an internet conection and if i allowed it. Id like to disable my program whenever I like for the ones who have it cant use it if i dont enable it
View 20 RepliesIn my code i check listview1 values, whether they contain a "Yes" or a "No" if they contain a"No" i was trying to disable the checkbox on listview2 that corresponds to that value so far i have:
If formMain.ListView1.Items(Index).SubItems(2).Text = "No" Then
'// We need to disable all the checkboxes on listview2 that contain "No"
'// And also color code the background
[Code]....
i have this function to enable disable the controls on a form....
Private Sub EnableDisableAll(ByVal xType As Boolean)
Dim ctl As Control
For Each ctl In Me.Controls
If TypeOf ctl Is TextBox Then
ctl.Enabled = xType
[Code]...
everything fine ...but when the controls r disabled it shows in the dull color. can i change the color ? as u can see i have given the command to change the forcolor to red to textbox but it still shows in dull greay... i dont want it to be enabled as i am using this to just give a view of records....the back color is changing to white but not the forecolor.....is there any thing more to be done...or any better way so as the items remain enabled but i dont allow the changes to be done.
MessageBox.Show("Disabled")
Button1.Enabled = False
Button2.Enabled = True
[code].....
I'm trying to make a program where when textbox1 doesn't have a value, textbox2 is disabled but when a value is entered to textbox1, textbox2 will be enabled.
View 13 Replieshow can i selectively disable propertygrid items, or even categories based on the value of another property? i read somewhere about a typedescriptor but i couldn't find a good example.
View 6 Repliesim doing a login i have finish it but you can close it by using alt+f4 so i need to block the alt key im using vb 2008
View 2 RepliesI am new to VS 2008 but have used VB6 for years. I want to be able to run my program in the IDE but when a Msgbox displays a message I want to stop the program and see the MsgBcode. I am using Windows 7 and VS 2008 professional on a 64 bit machine. How can I do this? Do I have to install a 32 bit version of VS 2008?
View 2 RepliesI use CTRL+I to switch on/off the Italics, but what is also happening is that the cursor is being indented.
How do I stop the cursor from indenting?
anyone knows how to sendkeys CTRL+U
View 6 RepliesHow do I stop the user from typing into a combo box and only allow them choose from the options available?
View 2 RepliesSo I'm working on my webbrowser, and just managed to get the ol' tabs working for it, but how would I go about adding a shortcut like "CTRL + T"
I tried this:
Private Sub TabControl1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TabControl1.KeyDown
[code]....
I have this form with a bunch of input controls. I have code working that will disable them all like I want, but need to work with the if/then statement portion. Basically, it's a "History" form for patients. There's a date field for each entry, and if that date doesn't match the date you're accessing the form I want it to disable all controls so you can't edit the form. So it would have to check the current date with the date that is on the form. Then I also want to have an override button that will ask you if you want to enable all controls anyway, which I can probably figure out. There is some older VB6 code (I think) but I know nothing about VB6 or how it translates.
I think this is the portion that does what I want in VB6:
Private Sub DATE_DblClick(Cancel As Integer)
Call Setdate
Exit Sub
Dim sysDate As Date, Response
sysDate = VBA.Date
[Code] .....
How to have the program check the current date with the date in this form. From there it's probably just a simple if/then statement to fire off either sub. This date control on the form is a DateTimePicker. Maybe I just have to compare that to the system date but I still don't know what to call for that.
how can i disable the Home, End, and the arrow keys Next and Previous?All i need is having all those four keyboard keys disable while my application is running so the app do nothing if one of those is pressed.
View 4 RepliesIs it possible to prevent my program from being ran in Safe Mode and System Restored?
View 5 Replies