Click here to Skip to main content
15,907,913 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionvb.net outlook addin problem Pin
K edar V23-Jul-06 20:11
K edar V23-Jul-06 20:11 
I'm trying to make Outlook addin that will add one button to outlook context menu---
(VB.net / C# .net (NO C++ .net))
first,
ActiveExplorerCBars = applicationObject.ActiveExplorer.CommandBars
then
cmdbar = ActiveExplorerCBars.Item("Context Menu") 'cmdbar is commandbar object "^getting error here"
control = cmdbar.Controls.Add(MsoControlType.msoControlButton)
With control
.Caption = "kedar"
.visible = true
..... other props
End With

but i'm gettin an error that the parameter "Context Menu" is incorrect @ cmdbar = Active......
"i have seen code working in vb but not in vb.net so keep that in mind and reply for vb.net"
i've refered -- http://www.outlookcode.com/codedetail.aspx?id=526
http://www.outlookcode.com/codedetail.aspx?id=314 ?
and similar codes but they'r not of any use to me,.....
I think "Context Menu" is not a valid parameter. But accordg to other resources i've cometo know that outlook has that Named menu.
I'd like if anyone can post a code to add the button to context menu.
thnx in advance

"You can do any thing you set to your mind" - theGhost_k8

AnswerRe: User Validation Pin
Paul Conrad23-Jul-06 19:56
professionalPaul Conrad23-Jul-06 19:56 
GeneralRe: User Validation Pin
Colin Angus Mackay23-Jul-06 20:05
Colin Angus Mackay23-Jul-06 20:05 
GeneralRe: User Validation Pin
Paul Conrad24-Jul-06 7:24
professionalPaul Conrad24-Jul-06 7:24 
GeneralRe: User Validation Pin
Colin Angus Mackay24-Jul-06 7:48
Colin Angus Mackay24-Jul-06 7:48 
GeneralRe: User Validation Pin
Paul Conrad24-Jul-06 8:10
professionalPaul Conrad24-Jul-06 8:10 
AnswerRe: how to increase day in vb??? Pin
Christian Graus23-Jul-06 18:43
protectorChristian Graus23-Jul-06 18:43 
Questionbreaking a big file into smaller files Pin
harish13923-Jul-06 18:18
harish13923-Jul-06 18:18 
AnswerRe: breaking a big file into smaller files Pin
Christian Graus23-Jul-06 18:48
protectorChristian Graus23-Jul-06 18:48 
QuestionProject Topic Pin
rahul_d23-Jul-06 15:15
rahul_d23-Jul-06 15:15 
AnswerRe: Project Topic Pin
Paul Conrad23-Jul-06 16:59
professionalPaul Conrad23-Jul-06 16:59 
GeneralRe: Project Topic Pin
rahul_d23-Jul-06 18:38
rahul_d23-Jul-06 18:38 
GeneralRe: Project Topic Pin
Paul Conrad23-Jul-06 19:47
professionalPaul Conrad23-Jul-06 19:47 
QuestionHow to refill a dataset? Pin
cstrader23223-Jul-06 14:41
cstrader23223-Jul-06 14:41 
AnswerRe: How to refill a dataset? Pin
Dave Sexton25-Jul-06 0:32
Dave Sexton25-Jul-06 0:32 
GeneralRe: How to refill a dataset? Pin
cstrader23225-Jul-06 1:11
cstrader23225-Jul-06 1:11 
AnswerRe: How to refill a dataset? Pin
karansharma28-Jul-06 19:18
karansharma28-Jul-06 19:18 
Questionsaving an AVI with MP3 Pin
Pruck23-Jul-06 13:18
Pruck23-Jul-06 13:18 
AnswerRe: saving an AVI with MP3 [modified] Pin
Guffa23-Jul-06 22:20
Guffa23-Jul-06 22:20 
GeneralRe: saving an AVI with MP3 Pin
Pruck24-Jul-06 3:09
Pruck24-Jul-06 3:09 
GeneralRe: saving an AVI with MP3 Pin
Dave Kreskowiak24-Jul-06 6:32
mveDave Kreskowiak24-Jul-06 6:32 
Questionexecute dts package with VB.net Pin
superabang23-Jul-06 6:15
superabang23-Jul-06 6:15 
QuestionMoving data from access to mySQL Pin
Jhowee23-Jul-06 2:08
Jhowee23-Jul-06 2:08 
QuestionShow Without Activation Pin
The ANZAC22-Jul-06 13:12
The ANZAC22-Jul-06 13:12 
AnswerRe: Show Without Activation Pin
Chatura Dilan23-Jul-06 15:21
Chatura Dilan23-Jul-06 15:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.