Outlook Automation: Permissions Problem

  • Thread starter Thread starter DDJ
  • Start date Start date
D

DDJ

We have VB6 app which creates an Outlook Application instance and interacts
with various Outlook folders/Items.

Some of our users, who are always Outlook clients on corporate laptops
(setup up with various permissions by the corporate IT department), are
getting an error message when attempting to open a VB form which uses an
Outlook View control. These same users do not seem to have any problems
when writing/editing data to Outlook items in the various Outlook folders.
The problem only occurs when trying to open an Outlook folder for viewing
using the Outlook View control. At this point in the code, we are not
trying to edit any items in the displayed folder, we are merely opening the
folder for viewing purposes.

Has anyone seen anything similar to this? Our best guess is that the
problem relates to permissions, but no amount of troubleshooting (by
changing persmissions on the applicable folders) seems to help. Are there
other permissions we should consider? If so, how should our App handle the
issue?

Thanks for any leads on this!

Dan
 
As a matter of fact, yes.

Assuming you can't do this in a VB6 app, can you suggest another way to
specify the view when opening a form? Depending upon the user's choice, we
need to be able to open views for various Outlook item types and, hopefully,
open the item in a specific view.

Also on the same topic...we were looking into whether the problem relates to
the user's Outlook version. Our problem seems to be cropping up only on
Outlook 2000 installations. Would you know how we should be handling
compile and installation issues relating to the Outlook View control? Looks
like it is not automatically installed with 2000, but can be updated using a
file called outlctlx.dll. This is distinguished by the file automatically
installed with Outlook 2002, called "outlctl.dll" (we are compiling the
program using this outlctl.dll). None of the MS KB articles seem to help in
this regard (as it relates to developers).

Your assistance is appreciated.

Dan
 
The View parameter in the View control is only valid when run from
within Outlook, not when using it in standalone or Web applications.
There are also different versions of the control for different
versions and even builds of Outlook. The problem is discussed in that
URL I provided.

If I were coding this I would probably discard the view control due to
the limitations mentioned and go with a grid control of some sort in
the VB form and populate it using code. It would take more code than
the view control but I wouldn't be hampered by its limitations.
 
There are also different versions of the control for different
versions and even builds of Outlook. The problem is discussed in that
URL I provided.

This is one of the discussions we were looking for Ken, but the URL you
provided really doesn't get in to this topic. Did you maybe mean another
URL?

Thanks!

Dan
 

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

Back
Top