Tuesday, May 31, 2011

Connecting a second mouse or keyboard directly to a Fusion virtual machine

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003418


Connecting a second mouse or keyboard directly to a Fusion virtual machine



Details

This article provides steps to connect a second mouse and/or keyboard directly to a virtual machine.

 

If your mouse or keyboard is not working in your virtual machine, see Fixing a mouse or keyboard that is not working or is slow to respond in a Fusion virtual machine (1027805).

Solution

Mice
and keyboards belong to a special class of USB devices known as Human
Interface Devices, or HID. Fusion does not allow these to be connected
to the virtual machine by default, due to the risk of removing all human
interface from the Mac. It is possible to instruct Fusion to make it
possible to connect these devices by modifying the virtual machine
settings.

 

Caution: You require access to a second keyboard
and/or mouse for these steps. Do not follow these steps if you only have
one mouse and/or keyboard, as you will not be able to use the device(s)
with your Mac while Fusion is running.

 

To connect an external keyboard and/or mouse directly to your virtual machine:

  1. Shut down the virtual machine that needs the mouse/keyboard.
  2. Plug the second mouse/keyboard into your Mac.
  3. Edit your virtual machine's .vmx file using a text editor to include these lines:

    usb.generic.allowHID = "TRUE"
    usb.generic.allowLastHID = "TRUE"


    Note: For more information about editing the .vmx file, see Editing the .vmx file for your Fusion virtual machine (1014782).


  4. Power on your virtual machine.
  5. Go to Virtual Machine > USB and select Connect <your mouse or keyboard>.

Tags

how-to

Update History


06/16/2010 - Expanded article to include disabling third-party
drivers/extensions, the need for a second keyboard/mouse, and the
allowLastHID switch.

06/21/2010 - Added steps to check for a wireless mouse/keyboard
connected via Bluetooth or USB.

11/22/2010 - Added link to general troubleshooting article and clarified
steps.

12/07/2010 - Added explanation of HID.


Request a Product Feature



To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Sunday, May 29, 2011

SQL Management Studio Keyboard Shortcut

SQL Management Studio Keyboard Shortcut
http://msdn.microsoft.com/en-us/library/ms174205.aspx

Action



Standard



SQL Server 2000



Close the current MDI child window



CTRL+F4



CTRL+F4



Print



CTRL+P



CTRL+P



Exit



ALT+F4



ALT+F4



Toggle full screen mode



SHIFT+ALT+ENTER



SHIFT+ALT+ENTER



Close the current tool window



SHIFT+ESC



SHIFT+ESC



Cycle through the next MDI child windows



CTRL+TAB



CTRL+TAB



Cycle through the previous MDI child windows



CTRL+SHIFT+TAB



CTRL+SHIFT+TAB



Move to the current tool window toolbar



SHIFT+ALT



No equivalent



Move to the next tool window



ALT+F6



ALT+F6



Move to the previously selected window



SHIFT+ALT+F6



SHIFT+ALT+F6



Opens a new query editor window



No equivalent



CTRL+O



Display Object Explorer



F8



F8



Display Registered Servers



CTRL+ALT+G



No equivalent



Display Template Explorer



CTRL+ALT+T



CTRL+ALT+T



Display Solution Explorer



CTRL+ALT+L



CTRL+ALT+L



Display the Summary Window



F7



F7



Display the Properties Window



F4



F4



Toggle between Object Explorer Details list view and Object Explorer Details property pane.



F6



No equivalent



Control the splitter bar that separates the Object Explorer
Details list view and Object Explorer Details property pane to adjust
the size of the display pane.



TAB, then UP arrow or DOWN arrow



No equivalent



Display the Toolbox



CTRL+ALT+X



CTRL+ALT+X



Display the Bookmarks Window



CTRL+K, CTRL+W



No equivalent



Display the Browser Window



CTRL+ALT+R



CTRL+ALT+R



Display the Error List Window (Transact-SQL Editor only)



CRTL+\, CTRL+E



CRTL+\, CTRL+E


Sunday, January 31, 2010

Windows 7 Keyboard Shortcuts

from microsoft
Link : http://windows.microsoft.com/en-us/windows7/Keyboard-shortcuts

Windows logo key Picture of Windows logo key +D Display the desktop.

Windows logo key Picture of Windows logo key +M Minimize all windows.

Windows logo key Picture of Windows logo key +E Open Computer.

Windows logo key Picture of Windows logo key +R Open the Run dialog box.

Windows logo key Picture of Windows logo key +Tab Cycle through programs on the taskbar by using Aero Flip 3-D.

Ctrl+Windows logo key Picture of Windows logo key +Tab Use the arrow keys to cycle through programs on the taskbar by using Aero Flip 3-D.

Ctrl+Windows logo key Picture of Windows logo key +B Switch to the program that displayed a message in the notification area.

Windows logo key Picture of Windows logo key +Spacebar Preview the desktop.

Windows logo key Picture of Windows logo key +Up Arrow Maximize the window.

Windows logo key Picture of Windows logo key +Down Arrow Minimize the window.

Windows logo key Picture of Windows logo key +Shift+Up Arrow Stretch the window to the top and bottom of the screen.

Ctrl+Shift+N Create a new folder

Ctrl+Period (.) Rotate a picture clockwise

Ctrl+Comma (,) Rotate a picture counter-clockwise

Alt+P Display the preview pane

Alt+Left Arrow View the previous folder

Backspace View the previous folder

Alt+Right Arrow View the next folder

Alt+Up Arrow View the parent folder

Ctrl+Mouse scroll wheel Change the size and appearance of file and folder icons

Ctrl+F Select the search box

Left Alt+Shift Switch the input language when multiple input languages are enabled

Ctrl+Shift Switch the keyboard layout when multiple keyboard layouts are enabled

Ctrl+Shift+Esc Open Task Manager

Esc Cancel the current task

F5 (or Ctrl+R) Refresh the active window

F4 Display the address bar list in Windows Explorer

F6 Cycle through screen elements in a window or on the desktop

Ctrl+Mouse scroll wheel Change the size of icons on the desktop

Alt+F4 Close the active item, or exit the active program

Ctrl+F4 `Close the active document (in programs that allow you to have multiple documents open simultaneously)

Remote Desktop:

Ctrl+Alt+Break Switch between a window and full screen.

Alt+Home Display the Start menu.

Ctrl+Alt+End Display the Windows Security dialog box.



Thursday, October 15, 2009

SQL Management Studio Find and Replace Generated Script Tag with Variable

Replace generated script tags for values with variable

e.g. ,[SURNAME] =

becomes
,[SURNAME] = @SURNAME

use find and replace with regular expression
find expression: \<{:w+},[^\>]+\>
replace expression: @\1

This is useful for sql studio generated insert and update script

Thursday, July 2, 2009

Turn off File Readonly Attribute

alway turn it off
fi.Attributes &= ~FileAttributes.ReadOnly;

flip
fi.Attributes ^= FileAttributes.ReadOnly;

Regular Expression CSV Tokeniser Update

see this link for previous blog http://me7486.blogspot.com/2008/06/regular-expression-for-parsing-csv-file_729.html

in addition to previous blogs, if you have situation like "this ""is"" not working",",right". you will need to use the following expression
((?(?=\x22)(?:\x22{1})(?<column>.*?)(?:\x22{1})|(?<column>[^,\r\n]*))(?:[,\r\n]))




Friday, June 12, 2009

Remote Desktop Automatic Logon in Windows XP (User Password Not Required)

micrsoft support link http://support.microsoft.com/kb/281262

This article describes how to turn on Remote Desktop automatic logon. By default, this version of Windows XP is configured to prompt each user to enter a password when connecting through the Remote Desktop client. This behavior holds true even when a correct user name and password are entered in the Remote Desktop Connection box before logon. This article describes how to alter this behavior.


Back to the top
Enable Remote Desktop Logon
To allow automatic logon to a computer running this version of Windows XP through Remote Desktop, follow these steps while logged on as an Administrator:

   1. Click Start, click Run, type MMC, and then press ENTER.
   2. Click File, and then click Add/Remove Snap-in.
   3. Click Add, select Group Policy, click Add, and then click Finish.
   4. Click Close, and then click OK.
   5. Navigate to the following directory:
      Local Computer Policy/Computer Configuration/Administrative Templates/Windows Components/Terminal Services/Encryption and Security
   6. Double-click Always prompt client for password upon connection.
   7. Click the Disabled box, and then click OK. You may now quit the MMC snap-in. Remote Desktop clients should now be able to connect to this Windows XP computer using the automatic logon feature of the Remote Desktop client.