G
Guest
Hello –
I am hoping some of you out there can help me with this one. I will try to
be brief… This is a greatly simplified take on what has been going on.
The background of the issue:
We have an Outlook Add-in that was written in VB6. This add-in will take
the content of an email and use it for some processing. The add-in is in
production and has been used by a large number of people successfully.
There are others, however, that are not as successful. Some people are
getting the following errors:
1. On startup of Outlook
a. An error has occurred. Details: Number=-2147467259; Description=Method
'; Source=' of object '.
b. An error has occurred. Details: Number=15031; Description=Error
occurred while checking for toolbar; Source=CheckExplorerToolbar
2. When an email is opened
a. An error has occurred. Details: Number=-2147467259; Description=Method
'; Source=' of object '.
b. An error has occurred. Details: Number=91; Description=Object variable
or With block variable not set; Source=OutlookAddin.
There is absolutely no pattern to these errors barred from one thing – all
users that experience these errors are running WinXP SP2 and Office 2003
(along with some that have no problems). We have gone through the normal
uninstall and reinstall, removal of other software, recreation of profile,
removal of Word as editor (and much much more) to no avail.
This issue is extremely difficult to reproduce (I personally have never been
able to).
I have been researching this issue and am wondering the following:
1. Has anyone seen these errors before with a similar type of add-in with
the same kind of infrequency?
2. Does anyone know of anything that was added to Office 2003 (security
update, SP, etc) that could be the cause?
3. We have considered rewriting the add-in using managed code and the new
Outlook add-in model. Do you think that these errors will go away if we do?
Why?
4. We have also considered using the shim concept on the existing VB6 add-in
(basically writing a C++ dll to then instantiate the VB dll). Is this
viable? Why?
My gut-feel is that the issue is caused by another installed component(s)
infringing in the Outlook add-in space. According to my research:
1. A VB6 shared add-in uses the same application space as the rest of
Outlook and anything else that is running along with Outlook (like word if it
is the editor and any other add-ins).
2. A Managed add-in (pre VS2005) would also run in the same appdomain which
is why the concept of shim-ing an add-on came to be as it allowed the add-in
to run in it’s own space
3. The new Outlook add-in support in VS2005 handles the shim automatically
making each add-in run within it’s own space.
Is this an accurate representation?
I appreciate all of your responses and look forward to when I can return the
favor.
Thanks
-Steve
I am hoping some of you out there can help me with this one. I will try to
be brief… This is a greatly simplified take on what has been going on.
The background of the issue:
We have an Outlook Add-in that was written in VB6. This add-in will take
the content of an email and use it for some processing. The add-in is in
production and has been used by a large number of people successfully.
There are others, however, that are not as successful. Some people are
getting the following errors:
1. On startup of Outlook
a. An error has occurred. Details: Number=-2147467259; Description=Method
'; Source=' of object '.
b. An error has occurred. Details: Number=15031; Description=Error
occurred while checking for toolbar; Source=CheckExplorerToolbar
2. When an email is opened
a. An error has occurred. Details: Number=-2147467259; Description=Method
'; Source=' of object '.
b. An error has occurred. Details: Number=91; Description=Object variable
or With block variable not set; Source=OutlookAddin.
There is absolutely no pattern to these errors barred from one thing – all
users that experience these errors are running WinXP SP2 and Office 2003
(along with some that have no problems). We have gone through the normal
uninstall and reinstall, removal of other software, recreation of profile,
removal of Word as editor (and much much more) to no avail.
This issue is extremely difficult to reproduce (I personally have never been
able to).
I have been researching this issue and am wondering the following:
1. Has anyone seen these errors before with a similar type of add-in with
the same kind of infrequency?
2. Does anyone know of anything that was added to Office 2003 (security
update, SP, etc) that could be the cause?
3. We have considered rewriting the add-in using managed code and the new
Outlook add-in model. Do you think that these errors will go away if we do?
Why?
4. We have also considered using the shim concept on the existing VB6 add-in
(basically writing a C++ dll to then instantiate the VB dll). Is this
viable? Why?
My gut-feel is that the issue is caused by another installed component(s)
infringing in the Outlook add-in space. According to my research:
1. A VB6 shared add-in uses the same application space as the rest of
Outlook and anything else that is running along with Outlook (like word if it
is the editor and any other add-ins).
2. A Managed add-in (pre VS2005) would also run in the same appdomain which
is why the concept of shim-ing an add-on came to be as it allowed the add-in
to run in it’s own space
3. The new Outlook add-in support in VS2005 handles the shim automatically
making each add-in run within it’s own space.
Is this an accurate representation?
I appreciate all of your responses and look forward to when I can return the
favor.
Thanks
-Steve