Aleksandar's computer workshop

Let's see what Aleksandar was fixing today.
My findings, tips & tricks related to computers, internet, programming and other stuff I was working with.

Few Notepad trick and tips

How to Use Notepad to Create a Log File

Microsoft Notepad is a word processing tool included with Windows and is installed by default under the Accessories program group. You can use it to create a log-type file that adds the current date and time each time the Notepad file is opened.

To create a log file in Notepad:

  • Click Start, point to Programs, point to Accessories, and then click Notepad.
  • Type .LOG on the first line (case sensitive), and then press ENTER to move to the next line.
  • On the File menu, click Save As, type a descriptive name for your file in the File name box, and then click OK.
  • When you next open the file, note that the date and time have been appended to the end of the log, immediately preceding the place where new text can be added. You can use this functionality to automatically add the current date and time to each log entry.

This cool notepad trick can be used to make daily notes or can be used as a diary also.
You can even press F5 to get the current date and time anywhere between the text.

Change header and footer

Want to get rid of default page header oand footer in notepad?
To do this click on file -> page setup, remove the characters in the header and footer textboxes and write whatever you want.

Also, you can print other information at the top of each printed page in the file.
To have Notepad print information in the header, use the letter and character combinations in the following table.

To Type
Insert the open file's name or "(untitled)" if the file has no name &f
Insert the date. &d
Insert the time specified by your computer's clock. &t
Insert page numbers. &p
Insert an ampersand (&). &&
Align the header to the left, center, or right. &l, &c, or &r

 

Outlook 2007 - Problem with A Dialog Box Is Open. Close it and try again.

When starting Outlook 2007 and attempting to send new e-mail (compose a message) you might get error message "A dialog box is open. Close it and try again.". This alert appeared even though no dialog boxes appeared to be open.
The problem is that Outlook started on a new user profile, and the usual Outlook/Word dialog that asks you for your Name/Initials was getting hidden someplace (because Word starts silently in Outlook).

The solution is to close everything, restart the computer, open another Office application (like Word) and fill in the User Name details dialog box.

Once this is done Outlook will work correctly.

If you don't have the full Office installed, you won't be able to launch Word.
So to fix it, you'll have to temporarily remove a Microsft Update item number KB946983.
Use the control panel to remove this update, start Outlook, then windows will apply the update again at a later time.

Last option is to install following hotfix:
http://support.microsoft.com/default.aspx?scid=kb;en-us;950282

Mail Password Recovery moved to new site

Old Mail Password Recovery page has be moved to new location. Update your bookmarks. I have some plans to update the tool, so keep eyes on it.

Few words about program for people which are not familiar with it.

Mail Password Recovery allows you to recover your email password for any POP3 account, as long as it is stored in an email program on your computer.
You just need to temporarily change the settings in your email program, so that it connects to email password recovery instead, and your password will be revealed.

More information is available here:

http://gsmblog.com/page/Mail-Password-Recovery.aspx

IIS Version

To determine which Microsoft IIS (Internet Information Services) is running on your PC you can check following table:

  • IIS 1.0, Windows NT 3.51, SP3 or available as a free add-on
  • IIS 2.0, Windows NT 4.0
  • IIS 3.0, Windows NT 4.0 SP3 (IIS 2.0 is automatically upgraded to IIS 3.0 during the install of SP3)
  • IIS 4.0, Windows NT 4.0 Option Pack
  • IIS 5.0, Windows 2000
  • IIS 5.1, Windows XP Professional, Windows MCE
  • IIS 6.0, Windows Server 2003, Windows XP Professional x64 Edition
  • IIS 7.0, Windows Server 2008, Windows Vista  

Up to date list is available here