Wednesday, September 23, 2009

auto unload DLL files after exit program

With a simple edit of registry you can configure to auto unload DLL files after exiting program, follow these steps.
  • Open registry editor
  • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
  • Now right on explorer key and create new key
  • Named the key as "AlwaysUnloadDLL"
  • In the value data field set value as 1
  • Restart windows for the change to take effect

Monday, September 21, 2009

change default locations in the save as menu

Normally when you try to save a file, it displayed default locations such as "Recent Documents / Desktop / Documents / My Computer / My Network Places". if you want you can set your own location instead of default location, here is how to do it.

  • Click start > run
  • Type gpedit.msc to open group policy editor
  • Under "Local Computer Policy" go to the user configuration > Administrative Templates > Windows Components > Windows Explorer > Common Open File Dialog
  • Once you select Common Open File Dialog , you will notice a few settings appear in the right side of the window
  • In there Double click on "Items displayed in Places Bar"
  • Click "Enabled" and put your own locations to appear in the save as menu (ex - E:\ or E:\data or \\computer name\folder name
  • After entering locations click apply and ok to changes go in to effect
Note - to use default locations, click "Not Configured" (or Disabled) in "Items displayed in Places Bar" window, then apply and ok.

clear auto entries from internet explorer

This will show you how to clear entries that displayed in internet explorer

  • Go to start > run
  • Type inetcpl.cpl and press enter , to open internet properties (or right click on internet explorer and click properties)
  • Now click on content tab
  • Then click Autocomplete button (in the personal information)
  • Now click clear forms button to clear entries (if you want you can clear saved passwords by clicking clear passwords button)
  • Click ok, then apply and ok

modify default download location for internet explorer

If you want you cant set your own download location for internet explorer, here's how to do it

  • Open registry editor
  • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
  • Now right click on the key and create new string value
  • Name it as DownloadDirectory
  • Double click to open the key and enter location of your download (ex-D:\Download)
  • Click ok and close the registry editor

how to remove video & image preview in xp

Normally in windows xp if you click video file or picture file, preview of that file is displayed in the left area. imagine if you have partially download video or image and when you click it Explorer tries to load the whole file, this causing slow your computer and explorer error. then you have to restart explorer, but if you clicked that file again the result will be the same. as a solution you can disable previewing option, follow these steps.

To disable video preview

  • Go to start > run
  • Type regsvr32 /u shmedia.dll
  • Click ok
  • This will disable preview option for video
Note - to enable preview type regsvr32 shmedia.dll and click ok.

To disable image preview
  • Go to start > run
  • Type regsvr32 /u shimgvw.dll
  • Click ok
  • This will disable preview option for image
Note - to enable preview type regsvr32 shimgvw.dll and click ok.