O
Oliver Scheiber
Hi,
i have developed an Word-XP COM-AddIn using visual basic 6.0 and it
works fine.
Now i would like to load my word-addin only into word and not outlook.
Every time i do mails in outlook I see the commanbar(com-addin).
How does not load in outlook?
I tried this code in my designer but nothing is do:
Public WithEvents OutApp As Outlook.Application
Private Sub OutApp_Startup()
Dim objcb As Office.CommandBar
For Each objcb In CommandBars
If objcb.Name = "KorrAssistent" Then
objcb.Visible = False
Exit For
End If
Next
End Sub
Any suggestion?
Regards Oliver.
i have developed an Word-XP COM-AddIn using visual basic 6.0 and it
works fine.
Now i would like to load my word-addin only into word and not outlook.
Every time i do mails in outlook I see the commanbar(com-addin).
How does not load in outlook?
I tried this code in my designer but nothing is do:
Public WithEvents OutApp As Outlook.Application
Private Sub OutApp_Startup()
Dim objcb As Office.CommandBar
For Each objcb In CommandBars
If objcb.Name = "KorrAssistent" Then
objcb.Visible = False
Exit For
End If
Next
End Sub
Any suggestion?
Regards Oliver.