Wednesday, November 26, 2008

Task Manager Not Starting - Error 1717

In windows xp professional & windows 2000, We were not able to start Task Manager and received error message 1717, this error was resloved by starting 'Event Log' Service in Administrative services.

run -> Services.msc -> Start Event Log Service and then Task Manger Service.

Sending Large Attachment File via E-Mail


It was a great problem in sending large file more then 2 mb via email (as it is restriction imposed most of the ISP), for this either we have to use, our yahoo mail pro account or get some other arrangment.

As yahoo mail pro account is only accessible only to me, it becomes necessary to have alternate arrangement for the staff for sending file larger then 2 mb through regular e-mail server (bsnl server in our case).

After taking trial of number of softwares like pando, beamfile etc we zero on www.yousendit.com.

Yousendit comes with good features and it has (a) Desktop software for sending the file directly from computer, (b) Microsoft Outlook Plugin to send the file directly from Microsoft Outloook, (d) web interface, this becomes very convinent for s

Today, Ronak was trained how to use yousendit from Microsoft Outlook, desktop and web.

Tuesday, November 25, 2008

Basis of Surveying by Using Total Earth Station.

Using of total station and working with the surveyor on the site for the young and in-experience Civil Engineer is a nightmare.

The principle of surveying with Total Station is a technique which most of the fresh graduates does not understand and have to rely on the Sr. Surveyor or the field staff where there are full chances that they can be mis-guided.

This was the issue I address when I took up the project for the preparation of DPR at Bihar where my young team of surveyor was blind in deciding the new alignment. The team was in no direction because they were desserted by the Sr. Surveyor.

I have to address this issue with then surveyor Mr. Rajeev who now works in my office as my assistant. 

The extensive study with the survey team at bihar resulted for me in collection of some of the information how a survey work can be carried out and what kind of correction we should apply for the correct survey.

visit the site www.ncon.in/survey.htm to download the file which focuses in basic learning of the surveying work which can be life time assets for the inspiring young civil engineers.

Monday, November 24, 2008

Windows File Name

Naming Files in Windows According to Ed Bott and Woody Leonhard the following are the requirements for Windows filenames:

1. A filename may contain any alphanumeric character, including the letters A to Z and numbers from 0 to 9.

2. The full filename (including drive letter, colon, backslashes, and folder names) may be as long as 255 characters.

3. The filename itself may be as short as one character.

4. The following special characters are allowed in a filename:   $ % - _ @ ~ ` ' ! ( ) ^ # & + , ; = . [ ] { }

5. Spaces are allowed in filenames.

6. The following special characters are prohibited from being a part of a filename because they have special meanings to the operating system (DOS underlying Windows):
  / \ | : * ? " < >

You'll get an error message if you try to use one of them.

Windows files (and Office files in particular) typically include a three-letter extension, which is added automatically by the program that created the file (such as .doc for files created by Word). However, an extension is not required, nor are extensions limited to three characters. Windows treats any characters following the last period in the filename as an extension.

Source: Special Edition Using Office 2000 by Ed Bott and Woody Leonhard., pp. 73-74 Que. (paraphrased slightly)

Although the above are requirements, they have a couple of recommendations or notes:

  1. They recommend limiting the name of the file itself to about 40 characters so that you don't have trouble moving files with deeply nested folders.
 

2. If you use a nonstandard extension you may have difficulty opening the file from Windows. In Microsoft Office programs files with nonstandard extensions will not appear in file dialog boxes unless you change the file type to All Files.

  3. Windows filenames are not case sensitive. MyFile.doc is treated the same as MYFILE.DOC and myfile.doc. However, if you are publishing to a web page, the web server may be using a different operating system that does pay attention to case.

  4. Word marks temporary files with a beginning tilde (~) character. I would recommend not using this as the beginning character for any file that will be used by any of the MS Office programs.

Adding Commands in Shortcut Menu in Words

Right-click menus

Are you a fan of the shortcut menus that appear when you alternate mouse click? Alternate-clicking on different items provides great shortcuts to accomplishing frequently used tasks. Microsoft places frequently used commands on these menus but you can set them up to access the commands that you use the most by following these steps:

Alternate-click on any toolbar button. Select Customize from the menu that is displayed. Select the Toolbars tab. Scroll to the bottom of the list and select the Shortcut Menus toolbar. The Shortcut Menus toolbar will appear within your workspace. Select the Commands tab. Locate a command that you want to add to a shortcut menu. When you find a command that you use often (and does not already appear when you alternate click), click and drag it onto one of three positions on the Shortcut Menus toolbar. 

The Text position contains all of the shortcut menus when you alternate click on text. If you choose to add your command to the Text position, a submenu will display and you can select which shortcut menu you need. For example, to add something to the shortcut menu that appears when you alternate click on a misspelled word, select Text and then select Spelling. 

Additions to the Table position on the Shortcut Menus make this command accessible when you alternate click on a table. 

The Drawing position makes the command accessible when you alternate click on a drawing object. 

Close the Customize dialog box and alternate click to see your result.

Selecting Text using Mouse and Shift Key.

You already know that you can use the mouse to select text by holding down the left mouse button and dragging the mouse to make a selection. There is an even quicker way to select text using the mouse, however. This is done in the following manner:

Position the insertion point where you want the selection to begin. 

Move the mouse cursor so it points to where you want the selection to end. 

Hold down the Shift key as you click once on the left mouse button. 

Removing Style from the Document:

This is where a macro comes in handy. It can quickly search through a document to see if a particular style is used anywhere. If it isn't, then the style can be easily deleted. The following macro,

DeleteUnusedStyles,  does just that.

'************************************************************************************
Sub DeleteUnusedStyles()
  Dim oStyle As Style

  For Each oStyle In ActiveDocument.Styles
  'Only check out non-built-in styles
  If oStyle.BuiltIn = False Then
  With ActiveDocument.Content.Find
  .ClearFormatting
  .Style = oStyle.NameLocal
  .Execute FindText:="", Format:=True
  If .Found = False Then oStyle.Delete
  End With
  End If
  Next oStyle

End Sub

'**********************************************************************************

Note that the macro ignores a style if it is a built-in style.

This is because deleting a built-in style doesn't really delete it, but only resets that style to its original, default condition. In fact, Word doesn't allow built-in styles to be deleted from a document. Even if the built-in style is no longer used, but was once used in the document, it will still show up in the styles drop-down list. If this bothers you, there are additional steps you can take to "delete" the listing of these built-in styles. These steps can be rather involved, and are best described in Knowledge Base article KB193536:


http://support.microsoft.com/default.aspx?scid=kb;en-us;193536