H
Hans Börjesson
Hi!
I have a VB6 Outlook Com addin and I have problems when I try to debug my
code. When starting Outlook my code to add/delete a commandbar always raises
an exception that does not make it possible to debug any more. If I don't
debug everything works fine (commanbars are added/deleted OK).
For Each oCommandBar In m_objExpl.CommandBars
If oCommandBar.Name = "VendimoToolbar" Then
For i = 1 To oCommandBar.Controls.Count
oCommandBar.Controls.Item(i).Delete False
Next i
oCommandBar.Delete
End If
Next oCommandBar
I get error 13 Type missmatch (oCommandBar is declared As
Office.CommandBar).
My VB project is set to binary compability and it is pointing att the right
dll file.
Plattform: W2000 proffesional, Outlook 2000 SR1.
Regards
/Hans
I have a VB6 Outlook Com addin and I have problems when I try to debug my
code. When starting Outlook my code to add/delete a commandbar always raises
an exception that does not make it possible to debug any more. If I don't
debug everything works fine (commanbars are added/deleted OK).
For Each oCommandBar In m_objExpl.CommandBars
If oCommandBar.Name = "VendimoToolbar" Then
For i = 1 To oCommandBar.Controls.Count
oCommandBar.Controls.Item(i).Delete False
Next i
oCommandBar.Delete
End If
Next oCommandBar
I get error 13 Type missmatch (oCommandBar is declared As
Office.CommandBar).
My VB project is set to binary compability and it is pointing att the right
dll file.
Plattform: W2000 proffesional, Outlook 2000 SR1.
Regards
/Hans