Disabling The Windows Key?

Apr 12, 2009

I'm having a problem when i try to disable the windows key in my (VB.Net 2008) App. I tried to use

If e.KeyData = Keys.LWin Then
MsgBox("Incorrect key pressed", MsgBoxStyle.Exclamation)
e.Handled = True

[code].....

View 13 Replies


ADVERTISEMENT

Forms :: Disabling BackGround In Windows Application Same As Windows Cardspace

Sep 24, 2010

I am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.

View 1 Replies

IDE :: Disabling BackGround In Windows Application Same As Windows Cardspace

Mar 23, 2011

I am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.

View 1 Replies

IDE :: Disabling BackGround In Windows Application Same As Windows Cardspace

Sep 24, 2010

I am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.

View 1 Replies

Disabling Windows Startup Services?

Mar 26, 2010

Im having difficulties with thins one things >.<

im tryin to make a application that could disable 2 services when when i run the application. so it would change it from say running automatically to disable. i have a lot of computers i have to administer, and i dont feel like goin one by one doing. Nd ima need radio buttons because a few machines are w7 and others r xp nd they each got diffrent services that have to be disabled.

View 1 Replies

Disabling Close Window Option In Windows 7?

Apr 13, 2011

I have an application developed in VB.net with 3.5 framework. I have disabled close (X) button on the main form of the application while doing some processing. I have achieve disabling by "Overriding ReadOnly Property CreateParams()" of the form. This is working fine as both control button on form and close option on right click in the taskbar shows disabled. This fulfill my needs on the Windows XP OS but not on Windows 7 OS. As in Windows 7 right click on application icon in taskbar shows a different menu, which has a new "Close window" option.

The close in original menu still shows disabled (this old menu is hidden but can be shown by holding Shift key and right click on the application icon in taskbar). Now I need to disable this "Close window" option as well and only for my application.

Is there a method through which I can do this programmatically.

View 1 Replies

Powershell: Disabling Windows.Forms Resize?

Jun 13, 2012

Just a quick question, I want to stop the end users from being able to resize a GUI that I've created.

$objForm = New-Object System.Windows.Forms.Form
$objForm.Text = "ADX v2.1.2.0"
$objForm.minimumSize = New-Object System.Drawing.Size(965,665)

[code].....

View 2 Replies

Process For Disabling Windows Key Of Keyboard Through Coding?

Mar 11, 2010

I need a process for disabling windows key of keyboard through coding.

View 2 Replies

Disabling Task Manager - Force Edit In Windows 7?

Jul 10, 2011

[Code]...

Code above is working on windows XP, but using this code in some windows 7 OS, returns an error. Is there a way of force edit this in windows 7?

View 1 Replies

Forms :: Disabling Close Window Option In Windows 7?

Apr 13, 2011

I have an application developed in VB.net with 3.5 framework. I have disabled close (X) button on the main form of the application while doing some processing. I have achieve disabling by "Overriding ReadOnly Property CreateParams()" of the form. This is working fine as both control button on form and close option on right click in the taskbar shows disabled. This fulfill my needs on the Windows XP OS but not on Windows 7 OS. As in Windows 7 right click on application icon in taskbar shows a different menu, which has a new "Close window" option.

The close in original menu still shows disabled (this old menu is hidden but can be shown by holding Shift key and right click on the application icon in taskbar). Now I need to disable this "Close window" option as well and only for my application.Is there a method through which I can do this programmatically.

View 3 Replies

VS 2008 Disabling CTR+C?

Aug 26, 2009

How do I disable CTR+C in a richtextbox?

View 1 Replies

Asp.net - Disabling Button After Click

Nov 5, 2011

Private Function StoreCouponCode() As String
Dim con As New SqlConnection(ConfigurationManager.ConnectionStrings("DBConnectionString").ConnectionString)

[Code]....

When the user clicks on the CmdGetCoupon it takes some time to redirect..so the user clicks on the CmdGetCoupon more than once,which results in multiple coupon generation from a single user account.

I want to display a message "Please Wait While Your Coupon Is Being Generated" and disable the CmdGetCoupon so that the user cannot click multiple times

View 3 Replies

Asp.net - Disabling Viewstate Of Whole Page

Dec 31, 2010

Is it possible to make the viewstate false of whole page including all controls at a time.I mean I don't want to set enableviewstate="false" for all controls..In the page directive of the aspx page I have made enableviewstate="false" but still viewstate of all the controls of the is enabled.. And what the EnableViewState="False"actually works within Page directive.

View 3 Replies

Disabling A Button Without Changing The Look?

Apr 7, 2010

I've used (buttonName).enabled = false to disable buttons when the user clicks on them but I don't like how the button becomes faded.

Is it possible to disable a button without changing the look of the button?

View 7 Replies

Disabling A Toolstripmenu Item

Apr 14, 2009

I have got my login form set up for my inventory system. User(admin) with access level 1 will be directed to form 1 and user(normal user) with access level 2 will be directed to form2.

[Code]...

View 5 Replies

Disabling An Item In The CheckedListBox?

Sep 11, 2010

Working the first time with a CheckedListBox.

Question: is it possible to disable an item of the box so you can't change the value of the checkbox.

View 1 Replies

Disabling Button After Click?

Mar 1, 2009

Take the following fundamental code:

Private Sub btnStop_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStop.Click
btnStop.Enabled = False
'Lengthy code procedure
btnStop.Enabled = True
End Sub

I've just notice that when I click on a button, and try to disable it in order to avoid the user clicking on it several times during process (or disable the entire form for that matter), the application somehow records the subsequent clicks and processes them after the button has been re-enabled. But that's not the behavior that I want at all. I just want to disable any user interaction with the button (or the form perhaps) until processing of the Button_Click event is completed. How can I do this?

View 19 Replies

Disabling Images In Webbrowser?

May 9, 2009

I am attempting to make a web browser But I want it so it will not download any images And just show text and forms to save time on loading. I have found some things on how to do this but its all in C#

View 3 Replies

Disabling Item In Checklistbox?

Sep 13, 2010

Busy with a checklistbox we want to know how to disble an item.

View 4 Replies

Disabling Items In The Combobox?

Mar 5, 2009

I want to disable some items in the Combobox. Is there a way to do that ?

View 1 Replies

Disabling Keys In Application?

Sep 8, 2008

is there a way to disable keys on a keyboard?

like the windows key?

View 9 Replies

Disabling Mouse Without A Timer?

Jul 12, 2011

I want to add something to my project and i want to disable mouse but without a timer. I want to enable it back again with press to keyboard. Is there code to do it so?

View 6 Replies

Disabling The Close Option?

Mar 1, 2010

how u can disable the X(close) option on a form in VB?? i dont want the user to be able to close the form that will be running and need to disable the X to be able to do this.

View 5 Replies

Disabling The Text Boxes?

Apr 28, 2010

The instructions I'm following indicate that when user clicks the Add This Item menu item for a new order, the customer information should be disabled so that the state cannot be changed until the next customer.I've tried to validate that all the customer information fields are filled when user clicks Add This Item menu item. The trouble I was having was that even when you were alerted that you didn't fill one of the fields, you clicked on the message alert and then the customer fields were disabled before you could fill the empty one.

I've tried to make an if statement which checks if some are empty to alert else if they are filled then disable. This doesn't work either. I get Conversion from string "" to type 'Boolean' is not valid. I'm not advanced enough to understand this. I just know boolean means true or false or yes or no. I'm not sure the best way to handle this situation. I don't even know if locking the user out is wise since they might have wanted to correct something wrongly entered but my instructions are to validate that the fields are filled and then disable the customer information. I need to follow the instructions exactly.

This is what it looks like:

Private Sub AddThisItemToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddThisItemToolStripMenuItem.Click
'Declare local level variables.
Dim Quantity_Decimal As Decimal

[code]....

View 8 Replies

Disabling/Enabling USB Ports?

Jun 6, 2011

I am creating a USB "cookie dispenser" (long story) and I plan on programming it by, when cookie.exe starts, it disables the port, you plug the USB in and press a button and it enables the port (thus powering the device). What I need to know is, is this at all possible? And if so, can you help me get it to work? I know I should put in an effort but it's late for me (UK) and I want to post this overnight so that you guys (in the USA may

View 8 Replies

Enabling And Disabling A Control?

Apr 12, 2011

I am enrolled in a class in Visual Basic 2008. I wanted to drop the class, but it is too late. Now, I am stuck with this project that the professor assigned and it's due this Thursday. Anyway, how do I do this: The credit card number TextBox control is dynamically enabled/disabled depending on the choice of payment type? And did I do the newOrderButton correctly (see code below)? This is also the clear button. And is there a way to do a reset Form? Sorry for that many questions. I am really lost right now because there is a lot to do in this project and I don't even have a clue of how I am going to finish this project.

Private Sub newOrderButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles newOrderButton.Click
' clears all the information that is displayed and start over

[code]......

View 6 Replies

Enabling And Disabling Buttons

Sep 18, 2011

I have a program and I need the Submit time button to be disabled after I enter 5 numbers and then the Get Payment button needs to be enabled. I have been playing around for several hours but cannot figure out how to do it.[code]

View 4 Replies

How To Enable / Disabling USB Port

Jul 17, 2006

I am creating a VB6 program in which I need to Take Backup of Data to USB (Thumb dirve). But for security purpose USB port must be disabled always. So when I start taking backup I need to enable the USB port take the Backup and disable it. How to do that using VB6? I have tried the option to enable using Wscript as follows. But it is not refreshing the USB port automatically.
Set objReg = CreateObject("Wscript.shell") objReg.Regwrite "HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesUSBSTORStart", 3, "REG_DWORD"
Is there any way we can refresh the Windows devices from VB6 ?

View 3 Replies

VS 2008 Disabling A Program?

Apr 19, 2009

i 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 Replies

VS 2010 Disabling A Keyboard Key

Jun 3, 2012

I'm wondering if anyone knows how to disable a keyboard key. This is because I am working on a space invaders game. In the game I have ammo. So after the ammo = 0 I want to make sure that the player cannot continue to keep shooting (using the keyboard) even though there is no ammo left.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved