InfoStores call to Public Folder Crashes IDE

G

Guest

Configuration:
Outlook 2003 SP1, Exchange 6.5 (6944.4), VB6

I have a COM Add-in that walks thru the InfoStores to look for folders that
have a default form type of contact.

Everytime I access the Public Folder store it crashes the VB IDE (if in
debug mode) or Outlook (if running the compiled Add-in).

I can access ?oInfoStores.item(i).Name without a problem but if I access any
deeper (e.g., oInfoStores.item(i).RootFolder) it crashes.

I do not see this on Outlook 2000 or 2002, just with 2003.
 
G

Guest

Some more info.

Every so often I can get it to run through once and it will throw this error:
Automation error
The object invoked has disconnected from its clients. , #: -2147417848

Then on the subsequent pass it wil crash.
 
G

Guest

Even Accessing the public folder via OutlookSpy (CDO - Session - Browse
InfoStores, go to functions select item and enter the number of the public
folders) it crashes Outlook.

Is this a know bug and more importantly is there a work around????

Jack
 
K

Ken Slovak

I have no problems accessing any public folder using OutlookSpy, maybe your
profile is corrupted.

You also don't say which language and object model or API you are using for
what you are trying to do, it certainly can't be the Outlook object model,
it doesn't support InfoStores. Also, if you are using Outlook 2003 and
Exchange you have to tell us if you are using cached mode or non-cached mode
and show some of your code.
 

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