Re: Within a *.exe

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You've probably switched to a different keyboard layout. The default key to
switch is the Left-Alt key and the Left-Shift key held down together. If
you want a more visible way of checking which keyboard layout you're using,
use Control Panel, Keyboard to switch (although the language will usually
also be displayed in your system tray, but the Control Panel methoid is
pretty much guaranteed to work).


Rob

"Ron" <Ron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:44F0CE92-B39C-4A55-A326-023C0A4DC4F8@xxxxxxxxxxxxxxxx
Hi Thanks for your post I was able to get what I wanted. I now have a
quirky
situation, my keyboard has changed when I hold down the Shift Key to get
the
@ sign I get the " instead. Any ideas?

"J French" wrote:

On Thu, 1 Mar 2007 02:02:06 -0800, =?Utf-8?B?Um9u?=
<Ron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi Ralph
Thanks, sorry I do not think I have seen "Easter Eggs" on Windows apps,
sounds like a good idea can you give me a sample to work from please?

Try this - you can make it a lot more picky

Option Explicit

Private Sub Form_Load()
Me.Caption = "Hold down Shift and Right Click Form 3 times"
End Sub

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Static HoldTimer!, Count&

If Shift And vbShiftMask = vbShiftMask Then
If Button = vbRightButton Then
Beep
' First Click
If Abs(Timer - HoldTimer) > 2 Then
HoldTimer = Timer
Count = 1
Me.Caption = Str$(Count)
Exit Sub
End If
' 2nd / 3rd Click
If (Timer - HoldTimer) < 2 Then
Count = Count + 1
Me.Caption = Str$(Count)
If Count = 3 Then
MsgBox "BOO!"
End If
End If
End If
End If

End Sub




.



Relevant Pages

  • Re: xfce4
    ... On 19/12/11 23:16, Kjetil brinchmann Halvorsen wrote: ... Then you can add a panel plugin to switch layouts quickly. ... How to define multiple keyboard layout (I need to switch between ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [Keyboard] - Could not load layout
    ... Now I can switch to the different keyboard layouts:) ... I can switch to spanish and french keyboard layout ... They use the german layout. ... try XP SP2 WITHOUT language pack installed. ...
    (microsoft.public.windowsxp.embedded)
  • Re: How to change Default Keyboard
    ... Unfortunatley it does not change the default keyboard layout. ... I am running Win XP and if you goto Control Panel- Regional Settings - ... > don't override user preferences, but the code works, so it's a start ... > Private Sub Form_Unload ...
    (microsoft.public.vb.winapi)
  • Re: [Keyboard] - Could not load layout
    ... I can switch to spanish and french keyboard layout ... try XP SP2 WITHOUT language pack installed. ...
    (microsoft.public.windowsxp.embedded)
  • can one prevent XP from switching the keyboard layout?
    ... I occasionally have to switch my locale (i.e. language and location ... What's starting to drive me nuts is, ... Can one somehow tell XP to LEAVE MY KEYBOARD LAYOUT UNTOUCHED, ...
    (microsoft.public.windowsxp.customize)