Hi everybody,
I want to take the address book to a navision table. Just the email adress and the contact name is enough for me.
I wrote a code
CREATE(OutlookApplication);
OutlookEmail:= OutlookApplication.CreateItem(0);
OutlookMAPI := OutlookApplication.GetNamespace('MAPI');
MyFolder := OutlookMAPI.GetDefaultFolder(13);
But the last sentence doesn't work and I don't know what "13" means.(Actually I looked at the msdn)
Does anybody have an idea about?
0
Comments
UK
But I have already done it. We are a company and I want to take the global address list. Neigther in the visual basic guide for outlook nor in these backups, nothing exists about this.
Any other suggestions?
To Get Folders....................
ContactsFolder :=10
CalenderFolder:=9
InboxFolder:=6
TaskFolder:=13
FolderDeletedItems:=3
FolderOutbox:=4
FolderNotes:=12
FolderSentMail:=5
To Create Folders...............
0 = E-Mail
1 = Appointment
2 = Contactperson
3 = Task
4 = Logbookitem
5 = Note
6 = Discussion
UK