a developer's notes – a semi-technical web development BLOG

September 5, 2011

Disable the ‘Beep” for alert boxes in your VM

Filed under: Daily Computing,General Tips — Duy Nguyen @ 1:32 pm
Tags: , , , ,

If you want to turn off the beep that sounds when you turn on a virtual machine, you can run the following two commands. The first stops the BEEP service and the second disables it on subsequent reboots.

At a command prompt:

net stop beep
sc config beep start= disabled

(Be sure to include a space after the = sign.)

Advertisements

Disable the preview of ALL browser tabs in Windows 7

Filed under: Daily Computing — Duy Nguyen @ 1:28 pm
Tags: , , , , ,

To disable the preview of ALL tabs in your web browser in Windows 7,

Check out how to disable it here:

http://www.techrena.net/internet/disable-tab-previews-firefox-ie8-google-chrome-windows-7-taskbar/

Killing a Windows Service that seems to hang on “Stopping”

Filed under: Daily Computing,General Tips — Duy Nguyen @ 1:13 pm
Tags: , , , , , , ,

1. Go to the command-prompt and query the service (e.g. the SMTP service) by using sc:
sc queryex SMTPSvc

2. This will give you the following information:

SERVICE_NAME: SMTPSvc
TYPE               : 20  WIN32_SHARE_PROCESS
STATE              : 4  RUNNING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE    : 0  (0x0)
SERVICE_EXIT_CODE  : 0  (0x0)
CHECKPOINT         : 0x0
WAIT_HINT          : 0x0
PID                : 388
FLAGS              :

3.  Find the process identifier (PID) and kill the process with “taskkill”:

taskkill /PID 388 /F

where the /F flag is needed to force the process kill (first try without the flag).

Taken from http://bartdesmet.net/blogs/bart/archive/2004/10/16/438.aspx

Mouse scroll button acts like it is stuck

Filed under: Daily Computing — Duy Nguyen @ 12:23 pm
Tags: , , , ,

I don’t know what this is or what causes it but sometimes my mouse pointer would turn into a square, scroll bar. It will keep flashing and I have no idea what it is or what caused it. If I navigate to a page and attempt to use the scroll wheel on the mouse to scroll down, the page will scroll down, but then scroll right back up to the beginning. It is like the the scroll wheel is stuck, but physically, it is not.

I just played around with the scroll button (middle key above the touchpad) on my laptop’s keyboard and it fixed it.

September 2, 2011

Skipping Assembly Strong Name Validation

You can disable strong name valildation on an assembly using the Strong Name tool that comes with Visual Studio.

Open the Visual Studio Command Prompt. This should be available on Start, All Program Files, Visual Studio 200x, Visual Studio Tools.

At the command prompt:
SN -Vr “c:\location of the assembly\myassembly.dll”

To re-enable verification:

SN -Vu “c:\location of the assembly\myassembly.dll”

« Previous Page

Create a free website or blog at WordPress.com.