Categories
Hints/Tips

Open URL Shortcut in non-default Browser

I use a number of different web browsers and when I create Desktop shortcuts to URLs they are always opened using the current default browser, in my case Chrome. Sometimes, you may want to open the URL in a different browser and an easy way to do this is to create a new shortcut.

This is how I managed to create a new, relevant shortcut on my Windows 7 Desktop.

  • Right Click on the Desktop and choose New … Shortcut
  • This launches a dialog “What item would you like to create a shortcut for? Insert the full path to the Web Browser program. On my Windows 7 64-bit machine, this was “C:\Program Files (x86)\Internet Explorer\iexplore.exe”
    Click Next, and in the next page enter a name for the shortcut, then click Finish.
  • This will create a shortcut on the desktop.
  • Right Click on the Shortcut and choose Properties.
  • In the Shortcut tab, enter the required URL at the end of the string in the Target: box so that the complete entry now reads “C:\Program Files (x86)\Internet Explorer\iexplore.exe” http://bbc.co.uk
  • Cick OK to close the properties dialog.

Now, when you click on the shortcut, the required Web Browser will open on the relevant web page.

Categories
Tools

Process Explorer

An indispensible utility that allows you to find out about the processes currently active on your Windows PC.

It shows which handles and DLLS have been opened or loaded by the running processes and can help when tracking problems such as memory leaks, or DLL versioning issues, or finding which process has particular files open.

http://technet.microsoft.com/en-gb/sysinternals/bb896653

Categories
Tools

regsvr32

You can use the Regsvr32 tool (Regsvr32.exe) to register and unregister OLE controls such as DLL or ActiveX Controls (OCX) files that are self-registerable.

Usage:

Regsvr32 [/u] [/n] [/i[:cmdline]] dllname

/u – Unregister server

/i – Call DllInstall passing it an optional [cmdline]; when used with /u calls dll uninstall

/n – do not call DllRegisterServer; this option must be used with /i

/s – Silent; display no message boxes

Further information can be found at http://support.microsoft.com/kb/249873. Also see the Wikipedia article about WoW64 at http://en.wikipedia.org/wiki/WoW64.

Note:
When you attempt to run Regsvr32.exe to register a 32-bit dynamic-link library (DLL) on a 64-bit version of Windows, you may receive the following error message:

“filename.dll  is not an executable file and no registration helper is registered for this filetype”

This is because on a 64-bit version of a Windows operating system, there are two versions of the Regsv32.exe file:

  • The 64-bit version is %systemroot%\System32\regsvr32.exe.
  • The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe.

and the 64-bit version is run by default. To resolve this issue, run Regsvr32.exe from the %SystemRoot%\Syswow64 folder.