WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

OLE and Outlook
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

OLE_Outlook- add Entry to Address book

Keywords: 	OLE Outlook Add Entry to Address book

Sample:

myOlApp = ObjectOpen("Outlook.Application")
myNameSpace = myOlApp.GetNameSpace("MAPI")
myAddressList = myNameSpace.AddressLists
mycount=myAddressList.count
For x = 1 to mycount
  Addbook= myAddressList.Item(x)
Next
myAddressEntries = Addbook.AddressEntries
myAddressEntries.Add("SMTP",  "TEST", "Test@Test.com")
exit



Article ID:   W14683
Filename:   OLE_Outlook- add Entry to Address book.txt
File Created: 2000:09:19:15:10:48
Last Updated: 2000:09:19:15:10:48