Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Outlook Global address list NOT FOUND!!!
Message
From
02/06/1999 09:52:35
 
 
To
01/06/1999 22:27:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00225077
Message ID:
00225329
Views:
13
Good Morning,

Our Atlanta WINNT server runs MS Exchange server.
This is linked to MS Exchange server on a
Windows NT server in Utah. The Utah
server has the Global address list.
The separate servers do NOT have
a trusted domain set up.
That's probably the problem.

I just found out that we have a
copy of the global address list on our
local public folder on the WINNT server
called 'recipients'.

My network pc is a Win95 box.
I can always access the
Global address list through the
MS Outlook application.

Why won't the code below work?
I get the OLE error:name Global address list
is not found.

Maybe I should use the copy of the
global address list in 'recipients' folder.
But I would have to somehow access the folder,
after the code that reads:
>oFolder = oNs.GetDefaultfolder(10)
> oITEMS=oFolder.items
How would I navigate to the folder using code?

Thank you for the help.

Regards,

Ed Hill

>We want to get all entries in the Microsoft OUTLOOK
>Global address list...
>But the code gives an OLE error on the last line
>because the name Global address list
>is not found. Hmmm? Why can't I get the Global address list object?
>
>Is there a better way to do this?
>
>Ed Hill,
>Atlanta
>
>oOL = CREATEOBJECT("Outlook.Application")
>oNs = oOL.GetNamespace("MAPI")
>oFolder = oNs.GetDefaultfolder(10) && See below for other values
> oITEMS=oFolder.items
>
>numFolder = 0
>NumItems = 0
>
>Dimension aPAB(100, 2)
>
>AddressListName= "Global Address List"
>
>* problem occurs here
>oGAL = oNs.addressLists(AddressListName)
>
>(more code follows, but not included here)

You asked:
Are you running MS Exchange server? You won't have a global address list without it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform