I wrote an outlook addin which was working fine.
suddenly it stopped working on many peoples machines.
I have no idea what could have happened?
Does anyone know any DLL's which may have been effected?
ANY IDEAS WOULD BE HELPFUL.
Thanks
Printable View
I wrote an outlook addin which was working fine.
suddenly it stopped working on many peoples machines.
I have no idea what could have happened?
Does anyone know any DLL's which may have been effected?
ANY IDEAS WOULD BE HELPFUL.
Thanks
Without knowing any specifics its very hard to help.
Are they all running the same version of Outlook?
Which one(s)?
Did they just install XP SP-2?
Did they do any Office updates?
Does it show on the "Disabled Items" menu listing in Help > Disabled Items...
What does your addin do?
Can you post the OnConnection code?
Thanks for the response.
Yes all the people having problems are all running outlook 2000.
(I do have users who are running outlook 2003 and it works fine)
No I dont think they updated or installed anything recently.
What do you mean by
"Does it show on the "Disabled Items" menu listing in Help > Disabled Items..."?
My addin basically calls vbform which allows the user to save their email or email attachment to a specific folder on the network.
I dont have any code in the onConnection function,
Here is my on startUPComplete Code:
Code:Private Sub IDTExtensibility2_OnStartupComplete(custom() As Variant)
' on start up
Initialize_handler
Dim oExplorer As Outlook.Explorer
'Dim oExplorer As Object
Set oExplorer = objApp.ActiveExplorer
Set oExplorer1 = objApp.ActiveExplorer
Dim cb As CommandBar
Dim CBExists As Boolean
Dim CBStw As Boolean
CBStw = False
CBExists = False
Dim con As Office.CommandBarButton
Dim tmpBar As CommandBar
For Each tmpBar In objApp.ActiveExplorer.CommandBars
If tmpBar.Name = "AddinBar" Then
CBExists = True
Exit For
End If
Next
PLEASE LET ME KNOW IF YOU HAVE ANY CLUES!
THANKS AGAIN....
'Set oEvt = New CBTnEvent
Set oStw = New CBSaveToweb
If CBExists = False Then
Set myCommandbar = objApp.ActiveExplorer.CommandBars.Add("AddinBar")
Add_CtlBtn (False)
Else
Set myCommandbar = objApp.ActiveExplorer.CommandBars.Item("AddinBar")
Set_CtlBtn
End If
cb.Visible = True
cb.Position = msoBarTop
Set objApp = Nothing
Set oExplorer = Nothing
Set cb = Nothing
'Set oEvt = Nothing
End Sub
Is your objApp object being set from the OnConnection procedure Application parameter?
I forgot to include this.
these are my global declarations.
Option Explicit
Implements IDTExtensibility2
Dim oBtns As New Collection
Dim oBtnsI As New Collection
Dim i As Integer
'Dim strPath As String
Dim WithEvents oMailItem As Outlook.MailItem
Dim WithEvents oExplorer1 As Outlook.Explorer
Dim WithEvents myInspectors As Inspectors
Dim WithEvents myInspector As Inspector
Dim myCommandbar As CommandBar
'Dim oEvt As CBTnEvent
Dim oStw As CBSaveToweb
Dim oStw2 As CBSaveToweb
'Dim oEvtI As CBTnEvent
Dim oStwI As CBSaveToweb
Dim oStw2I As CBSaveToweb
Dim objApp As New Outlook.Application
Thanks.
You installed the addin through Outlooks "COM Add-Ins..." button?
The disable items form will show you a listing of which addins are disabled because of errors or security issues.
Where Is The disabled Items Form?
In Outlook go to the menu "Help > Disabled Items..." on the system with the problem.
Sorry, just noticed that I missed the About part.
"Help > About > Disabled Items..."
Also, here is a link at MS on Add-Ins that may help.
http://msdn.microsoft.com/library/de...tionmethod.asp