Hi Cuong,
Basically, you need to use Automation. It's too big a subject to give full details here, but the following code should get you started. This retrieves a few fields from the Contacts folder. Similar techniques can be used for getting information from email messages, calendar items, etc.
* Get an object reference to the Contacts folder
oOut = CREATEOBJECT("outlook.application"

oNS = oOut.GetNamespace("MAPI"

oAdBook = oNS.GetDefaultFolder(10)
* How many contacts?
? oAdBook.Items.Count
* Look at info for the first contact
? oAdBook.Items(1).FirstName
? oAdBook.Items(1).LastName
? oAdBook.Items(1).BusinessFaxNumber
* Loop through the contacts
FOR EACH oContact in oAdBook.Items
? oContact.LastName
? oContact.Birthday
ENDFOR
The various properties and methods of the Outlook object model are all documented in a Help file. Another way to explore the object model is to use Intellisense (in VFP 7 and 8) or the object browser in the Visual Basic Editor in Office.
Hope this will get you started. Come back if you have more questions.
Mike Lewis
Edinburgh, Scotland