VS 2010 Disable The Capslock Key?

Apr 7, 2011

I Just finished a very nice Excel database front end, using mostly code snippets and tutorials learned from this site, I am new to .net and OOP having only ever trained in VB6, many many years ago and working only with VBA since then, and now I'd like to add a little extra polish to my humble app, so I need some expert help.

The problem really lies with one user in particular, who insists on typing with the capslock on when using my application, filling the database with odd records of only uppercase, when challenged she protests she isn't computer savvy and finds capitals quicker and easier.

I am aware of the string conversion tricks (ToUpper/ToLower/ToProper) available, however, due to the nature of the information being entered, it needs to be true mixed case, certain information might contain for example brand names, which often have uppercase/lowercase letters which vb or Excel for that matter simply cannot pragmatically account for (McDonalds is a good example, neither upper, lower or 'proper' as defined by the rules)

And so to my cunning plan, it is my desire to disable the capslock key! I am already setting a set of rules for each user based on Environment.UserName and so I am hoping just for this one user I can switch off the ability to use caps, as everyone else behaves themselves. I have tried to code me own way down this path but as yet have failed on all accounts.

View 1 Replies


ADVERTISEMENT

Detect CapsLock On / Off

Jan 30, 2010

How to detect whether Caps Lock/Num Lock is on/off on a keyboard?

View 2 Replies

Send 'a' And Capslock To The Active Application?

Mar 13, 2012

I'm looking for a simple sendinput example, f. e. how can I send 'a' and capslock to the active application?

View 1 Replies

Disable A Timer - Will Finish The Process And Then Disable Or Will It Immediately Disable Without Completing Process?

Dec 22, 2011

I am confused what will happen, when I disable a timer. Will it finish the process and then disable or will it immediately disable without completing process? for example

[Code]....

I want to run getMessage from somewhere else, so I need to disable timer during that time to be asured not to override anything and also before timer disable it should complete that function code.

View 3 Replies

Disable 10 Features In 2010?

May 21, 2010

Is there a way to disable visual basic 10 language features in VS 2010.our Dev team has moved to Visual studio 2010, but we still have to keep backwards compatibility with Visual Studio 2008. is there a way to disable the new language features to avoid any issues.

View 1 Replies

Disable Certain Keys In VB 2010?

Nov 15, 2011

I am making a fake virus program as a joke and would like to know how to disable all of the keys except for the shift and enter keys.(these will exit the program)

View 1 Replies

VS 2010 Disable A Button?

May 11, 2011

I would like to disable a button. Eg. I will press a button and after 3 times the button is disable. Now for that I used this

[Code]...

Now, when I closed the program and re-opened it, the button was enabled again. How could I make that button, to be disabled forever after 3 presses.

View 6 Replies

VS 2010 Disable Specific Key?

May 25, 2011

i press windows key sometimes when i writing somethng on my laptop.question : i want to disable windows logo key (windows key) and other key combos like Ctrl + Esc. i dont need disable all time(regedit method : HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerNoWinKeys ) just a little time when i writing..

View 2 Replies

Disable Save As In Ms Excel In Vb 2010?

Sep 20, 2011

How can I disable Save As button, I can open Ms Excel through vb net but the thing is I also want to disable the 'save as' as the Ms Excel Open.But not in Macro.. Here's my code:

Imports Excel = Microsoft.Office.Interop.Excel
Dim oXL As Excel.Application
Dim oWB As Excel.Workbook

[code].....

View 1 Replies

VS 2010 - Cant Disable Individual TabPages

Mar 2, 2012

I've read that you cant disable individual TabPages, I decided to remove all tabs that's aren't selected.

For i = 0 To mainTabCount - 1
With mainTab.TabPages(i)

[CODE].........

But after saving the contents of my SelectedTab and clicking the 'Close' button I want to restore my removed controls. Is this possible? ATM I'm just dispose of the form containing the TabControl and re-open it w/ ShowDialog.

View 9 Replies

VS 2010 Disable Ctrl + U Key Combo?

Oct 26, 2011

I've read many posts about disabling Alt+Ctrl+Del and Ctrl+Tab, etc. I'm not looking to do that. What I'm trying to do is create an app which will be hidden, and then need to be unhidden from "anywhere." For example, if I have an Excel spreadsheet open, I want to be able to use a combo like Ctrl+U to Unhide my program, but I do NOT want it to underline the text in the cell I'm currently in (which Excel will normally do). I don't want to worry about disabling or changing shortcut combinations for Excel, Word, etc.

View 9 Replies

VS 2010 Disable Javascript Webbrowser?

Jan 1, 2011

Is there a way to disable javascript webbrowser in vb.net 2010

View 5 Replies

VS 2010 Disable Resizing Of The SplitContainer?

Mar 2, 2011

Is it possible to disable resizing of the SplitContainer's panels?

View 2 Replies

VS 2010 Disable/Enable Button?

May 1, 2012

How would I enable a command button if 3 out of 10 text boxes contain any data?

So far in the load event I have Button9.Enabled = False

View 12 Replies

VS 2010 How To Disable ToolStrip Border

Apr 22, 2010

Toolstrips are great, but borders is so sick. How to disable border?

View 2 Replies

IDE :: Disable Enter Key For New Line In VB Intellisense In VS 2010?

Jan 24, 2012

I find that each time there is a new line when enter key is press in VB intellisense is annoying. Although space is ok, but each time it has a new space and I have to press return to remove it, which is also inconvienient for multiple selections.

View 1 Replies

VS 2010 Disable Buttons While There Are Less Than 2 Items In A Listbox?

Feb 16, 2012

How do I disable buttons while there are less than 2 items in a listbox? I can't figure out how to do it. I'm a newbie in Visual Basic(programming at all)

View 7 Replies

VS 2010 Disable Textbox Ding Sound?

Oct 2, 2010

I have a text box set up so when someone presses enter it performs a function, how can I disable the "Ding" sound that the computer makes when someone presses enter?

View 7 Replies

VS 2010 Make Disable Font Smoothing?

Aug 24, 2009

I can't stand this font smoothing on VS2010. Is there any way to turn it off?f you don't know what I'm talking about, compare the VS2010 screenshot to VS2008

View 2 Replies

2010 - Disable Autocompleet Intellisence When Pressing Spacebar?

Apr 7, 2011

While creating test in vb.net i found it pretty annoying when you start typing and autocompleet changes a class to something similar looking even it is a class you don't want. Image to illustrate : In the picture you can see I am trying to setup a controller (this controller does not exist at the moment) so when i press the spacebar i will get DienstControllerFacts.How do you disable this sort of auto-correction?

View 2 Replies

2010 - Disable Weekends And Future Calendar Dates?

Mar 14, 2011

how to disable the datetimepicker dates in the future and also all the weekend dates but i am unable to find any! Only thing i can find is ASP.net code.

View 1 Replies

VS 2010 - Disable Absolute Namespace Reference On Autocomplete

Aug 9, 2011

When I'm coding in Visual Studio 2010, say that I have some interface:
Namespace Some.Huge.Terrible.Namespace.Adhering.To.Company.Standards
Public Interface MyInterface
...
Property SomeThing as String
...
End Interface
End Namespace

And a class:
Public Class CoolThings
Implements MyInterface

When I hit Enter after MyInterface, Visual Studio will put
Property SomeThing as String Implements Some.Huge.Terrible.Namespace.Adhering.To.Company.Standards.MyInterface.SomeThing

I would like it to, instead, simply put:
Property SomeThing as String Implements MyInterface.SomeThing

It does the same thing for all methods, etc. that I have to implement and it's mildly annoying to either have to look at a stupidly long reference, or clean it all up since I'm importing the namespace at the top of my class anyway. Is there a setting in Visual Studio that I can use to switch that?

View 1 Replies

VS 2010 Disable Default Class Members And Methods?

Mar 13, 2011

Is there a way to disable the default members and methods inherited from the base class?

I made some classes in which elements like "Equals" and "ReferenceEquals" are confusing or I don't want them to show, or I have other methods providing similar functionality with different names and I don't want to override and use the default name.

View 3 Replies

Disable Right Click And To Disable The Start Button And Task Bar?

May 16, 2009

to disable right click and to disable the start button and task bar?

View 4 Replies

Disable The Automatic Reset Of A Kisok Presentation In Powerpoint 2010?

Jan 6, 2012

I created a presentation which runs in kiosk mode as a PowerPoint Macro-Enabled Show. Now the problem is, that the presentation resets itself to slide one if there is no user input for 5 minutes. How do I disable this feature?

I am using Powerpoint 2010 (Version 14.0.6112.500 (32-bit))On a side note: I already found an Add-In (KioskAssistant) which enables me to increase the time before the slide is reset. But this change is only done locally for my machine and not saved into the presentation itself. So this not a sufficient enough solution if I want to ship my presentation to my client

View 4 Replies

How To Disable Screensaver, Sleep, Lock, Hybernate On Windows 7 Or Using .net 2010

Jun 4, 2012

I don't have any idea if it is possible and how can I code it.I have created an application that needs to run on a non-administrator account on windows 7. It won't run if the PC goes sleep/ locked/ hybernate/ on-screensaver. So, I want to disable them programmatically using vb.net 2010. Can any one help me?

By the way, I already tried to edit the power settings of the PC so it will never sleep/ hybernate, etc. But unfortunately, it keeps on sleeping after few hours.

View 2 Replies

Disable A Given Key?

May 31, 2009

Let's say that I do not want a user to enter a given character more than once in a Textbox, how do I disable that character once it has been entered? For instance: I want to validate an email address so once a user enters "@" in the email textbox, the "@" character is disabled?

View 7 Replies

C# - Disable All Controls Within Div In Asp.net?

Mar 15, 2012

how I can disable all controls within a div?

The div is set to runat="server"

View 1 Replies

Disable A Button?

Aug 4, 2009

I have a button called "btnContinue". then, i have a textbox beside it for the user to enter a name. If the user has not entered anything, i want the button to be disabled from being clicked. But once the user entered a character into the textbox, the btnContinue will be enabled for clicking.

View 8 Replies

Disable Aero In VB?

Mar 23, 2010

How can I disable Windows Aero in Visual basic. I ask of this because windows aero is causing problems with the look of my applications and I would like a way to be able to turn it off.

View 2 Replies







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