Code Repo    |     RSS
MD's Technical Sharing



Saturday, April 18, 2009

Corrupted Outlook Personal Folders

Symptoms:

"Microsoft Office Outlook: The set of folders could not be opened."

There is a [Show Help >>] button. If clicked, it says:

"This error usually appears if the OST or PST file you are using is:

- Unavailable

- Protected with file permissions

- On a share on a server and the network is down

- Corrupt

To correct this problem, store the OST or PST file on the local computer. You may also want to run the scanost.exe and scanpst.exe tools to verify file integrity. More information about this error message online."


Solution:

1. Quit outlook.

2. Go to

C:\Documents and Settings\Username\Local Settings\Application Data\Microsoft\Outlook

3. Delete the PST file which corresponds to the corrupted folder.

4. Restart Outlook.


Reference

http://www.computing.net/answers/office/corrupted-outlook-personal-folders/4940.html>

Read More »

Outlook on the Desktop

This is a free software to show your Outlook calendar, notes and tasks on your Windows desktop.
  • Places fully functional Microsoft Outlook Calendar on your Desktop.
  • The Outlook Calendar is pinned to your desktop so that no windows can get stuck behind it.
  • The Calendar's position, size and opacity are all adjustable via a very intuitive GUI.
  • A tray Icon (complete with the day of the month) is provided to to configure the app and perform other actions.
  • Multiple-Monitor Support.
  • Ability to switch between calendar, inbox, contacts, tasks and notes views.
Reference: http://www.outlookonthedesktop.com/
Read More »

Friday, April 17, 2009

Showing Outlok appointments, tasks, notes on the desktop

Requirements

- Active Desktop Calendar 5.6 or later
- Microsoft® Outlook® 2000, XP, 2003, 2007

Active Desktop Calendar can read appointments and tasks directly from Outlook and show them on the desktop.

You will get all tasks and next seven days of appointments from Outlook's default calendar visible both in Active Desktop Calendar and on the desktop together with other information you might have in Active Desktop Calendar's data layers.


Reference: http://xemico.com/adc/infocenter/outlook.html

Read More »

Sunday, August 10, 2008

Read/Write Office Outlook contacts from .NET

1. Install Office XP/2003/2007
2. Add COM reference to Microsoft Outlook 10/11/12 Object Library


Imports msoutlook = Microsoft.Office.Interop.Outlook


'read

Dim outlookApp As New msoutlook.Application()

Dim outlookNS As msoutlook.NameSpace = outlookApp.GetNamespace("MAPI")

Dim theContacts As msoutlook.MAPIFolder = outlookNS.GetDefaultFolder(msoutlook.OlDefaultFolders.olFolderContacts)

For Each contact As Microsoft.Office.Interop.Outlook.ContactItem In theContacts.Items

Console.WriteLine(contact.FileAs)

Debug.WriteLine(contact.FileAs)

Next


'create new

Dim cnt As msoutlook.ContactItem = CType(outlookApp.CreateItem(msoutlook.OlItemType.olContactItem), msoutlook.ContactItem)

cnt.FileAs = "New Contact"

cnt.MobileTelephoneNumber = "1234567"

cnt.Save()

Read More »