Tuesday, March 6, 2007

Unable to print in Outlook 2003

Issue:

Unable to print from outlook 2003. When selected to print, a script error will pop up saying the following.

Error Invalid argument
URL res://C:\\WINNT\system32\shdoclc.dll/preview.dlg


Solution:

The following solution worked for me.
1) Close Outlook 2003 if it is running
2) From the “Start” Menu, select “Run”
3) Type: regsvr32 ole32.dll
4) After the registration becomes successful, Open outlook 2003, open the mail and try printing

Sanal K. Sankar
http://www.sanalks.com

Monday, March 5, 2007

Digitally signing your .net Applications/Assemblies

For signing .net applications/assemblies with a digital signature, use signcode.exe OR SignTool.exe.

Signcode.exe is applicable for applications created with .NET Framework SDK version 1.0 and 1.1. For versions ahead of this, use SignTool.exe. These tools are available in your .NET Framework SDK Installation path.

SignCode.exe
http://msdn2.microsoft.com/en-gb/library/9sh96ycy(VS.80).aspx

SignTool.exe
http://msdn2.microsoft.com/en-gb/library/8s9b9yaz(VS.80).aspx

Sanal K. Sankar
http://www.sanalks.com

Ideal way to detect the version of .net Framework Installed

Reading the registry for appropriate values seems to be the ideal way to detect the version of .net framework installed in a PC. Following are the registry keys for each of the successful installation of .net framework.

Version: 3.0
Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Settup\NDP\v3.0\Setup
Name: InstallSuccess (DWORD value = 1)

Version: 2.0
Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
Name: Install (DWORD value = 1)

Version: 1.1
Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322
Name: Install (DWORD value = 1)

Version: 1.0
Registry Key: KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.0
Name: 3705 (REG_SZ value = 3321-3705)

click here for more info.


Sanal K. Sankar
http://www.sanalks.com

Sunday, March 4, 2007

Create Shortcuts to connect to your GMail talk contacts

Create shortcut with the following command and you are only single click away from your gmail talk contact. Try Changing the shortcut icon also to gmail talk icon.

To chat:
gtalk:chat?jid=[Gmail address]@gmail.com

To Talk:
gtalk:call?jid=[Gmail address]@gmail.com

Example:
gtalk:chat?jid=sanal.sankar@gmail.com

Requirements:
You need to be logged in to gmail with the gmail talk application

Sanal K. Sankar
http://www.sanalks.com