Tuesday, March 6, 2007

Unable to print in Outlook 2003


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


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

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.



Sanal K. Sankar

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

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


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

Sanal K. Sankar