extended mapi

U

Ulf Nilsson

Hi,
I have just installed Windows 7/Office 2010 Beta. We had Windows XP/Office
2002 before and all the macros worked fine.

I have problems with the following code:

sAddressCode = "<PR_GIVEN_NAME> <PR_SURNAME>" & vbCr & _
"<PR_COMPANY_NAME>" & vbCr & _
"<PR_POSTAL_ADDRESS>" & vbCr

sAddress = Application.GetAddress(AddressProperties:=sAddressCode, _
UseAutoText:=False, DisplaySelectDialog:=1, _
RecentAddressesChoice:=True, UpdateRecentAddresses:=True)

When I use this code the following error comes up:
Run-time error '5798':
Address Book failure: "Unspecified error". Check your mail setup. You must
have Extended MAPI version 1.0 or higher to use this feature.

Any clue? Or should I publish this question in the Outlook forum?

//Ulf
 
P

Peter Jamieson

It works OK here (same configuration, both Windows and Office beta are
the 32-bit versions.

Things to check include
a. definitely set Outlook to be your default email packages
b. actually set up a mail account in Outlook, and sent a message? You
may get various inapplicable error messages before you do that?

Not sure I can help further than that.
Any clue? Or should I publish this question in the Outlook forum?

You should really go to the 2010 public beta forums (the address should
have been provided when you were invited to download, or thereabouts).
For one thing, you are more likely to find people in a position to test
with the same configuration as yours, especially if you are using either
64-bit Windows or 64-bit Office.

Peter Jamieson

http://tips.pjmsn.me.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top