|
-
Jun 9th, 2005, 11:37 AM
#1
Thread Starter
Addicted Member
Outlook addin Not working
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
-
Jun 9th, 2005, 11:51 AM
#2
Re: Outlook addin Not working
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?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 9th, 2005, 12:09 PM
#3
Thread Starter
Addicted Member
Re: Outlook addin Not working
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
-
Jun 9th, 2005, 01:03 PM
#4
Re: Outlook addin Not working
Is your objApp object being set from the OnConnection procedure Application parameter?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 9th, 2005, 01:06 PM
#5
Thread Starter
Addicted Member
Re: Outlook addin Not working
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.
-
Jun 9th, 2005, 01:21 PM
#6
Re: Outlook addin Not working
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 9th, 2005, 01:24 PM
#7
Thread Starter
Addicted Member
Re: Outlook addin Not working
Where Is The disabled Items Form?
-
Jun 9th, 2005, 01:35 PM
#8
Re: Outlook addin Not working
In Outlook go to the menu "Help > Disabled Items..." on the system with the problem.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 9th, 2005, 02:12 PM
#9
Re: Outlook addin Not working
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
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|