Hello,
I used the VB to retrieve the outlook XP contact list. When I run the
application, it prompt a dialog box. In the following is the dialog box
message:
A program is trying to access e-mail addresses you have stored in Outlook.
Do you want to allow this?
If this is unexpected, it may be a virus and you should choose "No".
When I click "Yes", the screen prompt out "Error 287: Application-defined or
object-defined error".
In normally, if click "Yes", the VB program can retrieve all contact records
out, but in my case, it flows this error.
Any experts can help me to solve this problem?
best regards,
TF
Hollis D. Paul - 17 Jan 2004 23:58 GMT
> Any experts can help me to solve this problem?
From what you have said, I infer that you haven't set your objects
correctly in your code.
If you want to avoid that dialog altogether, you might want to use
Redemption from http://www.dimastr/redemption .
Hollis D. Paul [MVP - Outlook]
Hollis@outhousebythesound.com
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US
Mukilteo, WA USA