Blog Archives

Project is Locked/ Project in unviewable – Word 2003 macro

Issue: When try to modify word macro I get “Project is Locked/ Project in unviewable” Solution: 1. Find the location on the startup folder. Go to Tools > Options > File Locations. See the UNC path of the startup ‘File

Posted in Microsoft Office

How to resolve error connecting to undo manager of source file in Visual Studio 2008 SP1?

Visual Studio error: Error connecting to undo manager of source file ‘C:\Documents and Settings\kumard\My Documents\Visual Studio 2008\Projects\LANSW.Survey\Survey\Default.aspx.designer.cs’. Solution: In the solution explorer find the ‘Default.aspx.designer.cs’ and do the following: a. Remove Default.aspx.designer.cs b. Right click on Default.aspx and Convert to

Posted in C#

Date Formatting in C#

Cheat sheet <%= String.Format("{specifier}", DateTime.Now) %> Specifier Description Output d Short Date 08/04/2007 D Long Date 08 April 2007 t Short Time 21:08 T Long Time 21:08:59 f Full date and time 08 April 2007 21:08 F Full date and

Posted in C#