Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralFind all the computer in the domain Pin
doso4-Jan-03 2:44
doso4-Jan-03 2:44 
GeneralRe: Find all the computer in the domain Pin
Heath Stewart4-Jan-03 7:38
protectorHeath Stewart4-Jan-03 7:38 
GeneralRe: Find all the computer in the domain Pin
Anonymous5-Jan-03 4:04
Anonymous5-Jan-03 4:04 
GeneralRe: Find all the computer in the domain Pin
Heath Stewart5-Jan-03 8:34
protectorHeath Stewart5-Jan-03 8:34 
GeneralRe: Find all the computer in the domain Pin
Rob Graham4-Jan-03 8:48
Rob Graham4-Jan-03 8:48 
Questionhow to know which window is clicked? Pin
fretre3-Jan-03 17:49
fretre3-Jan-03 17:49 
AnswerRe: how to know which window is clicked? Pin
Stephane Rodriguez.3-Jan-03 19:27
Stephane Rodriguez.3-Jan-03 19:27 
GeneralAdding to the Visual Studio View Menu Pin
WizardOfPeyton3-Jan-03 13:22
WizardOfPeyton3-Jan-03 13:22 
I would like to be able to add to the View menu in Visual Studio. I am developing a add-in and want to be able to display my own ToolWindow as needed. I am able to add my menu to the top level menu with the code below, but as stated I want this menu Item added below the View menu. I don't want the menu item displayed until the add-in is loaded. The Wizard generated code shows how to add to the Tools menu, but when I try to do the same with the View menu it does not work (CommandBar commandBar = (CommandBar)commandBars["View"];)

// Add to the View menu
object []contextGUIDS = new object[] { };
Command viewCommand = commands.AddNamedCommand(addInInstance,
"ViewAutoReplace", "Auto Replace View",
"View the Auto Replace Tool Window",
true, 53, ref contextGUIDS,
(int)vsCommandStatus.vsCommandStatusSupported+
(int)vsCommandStatus.vsCommandStatusEnabled);

CommandBar barView = commandBars["MenuBar"];
CommandBarControl barControl =
viewCommand.AddControl(barView, 2);

I have tried commandBars["MenuBar.View"] and ["MenuBar.&View"] with no success.
GeneralRe: Adding to the Visual Studio View Menu Pin
Stephane Rodriguez.3-Jan-03 22:57
Stephane Rodriguez.3-Jan-03 22:57 
QuestionCode guidline / code convention / naming convention for C#??? Pin
gicio3-Jan-03 11:32
gicio3-Jan-03 11:32 
AnswerRe: Code guidline / code convention / naming convention for C#??? Pin
Michael P Butler3-Jan-03 11:43
Michael P Butler3-Jan-03 11:43 
AnswerRe: Code guidline / code convention / naming convention for C#??? Pin
kaschimer3-Jan-03 11:47
kaschimer3-Jan-03 11:47 
GeneralRe: Code guidline / code convention / naming convention for C#??? Pin
Ray Cassick3-Jan-03 12:01
Ray Cassick3-Jan-03 12:01 
GeneralUsing OwnerDraw MenuItems in a NotifyIcon ContextMenu Pin
ethan3-Jan-03 6:03
ethan3-Jan-03 6:03 
GeneralRe: Using OwnerDraw MenuItems in a NotifyIcon ContextMenu Pin
ethan3-Jan-03 6:09
ethan3-Jan-03 6:09 
GeneralRe: Using OwnerDraw MenuItems in a NotifyIcon ContextMenu Pin
Stephane Rodriguez.3-Jan-03 20:01
Stephane Rodriguez.3-Jan-03 20:01 
GeneralSplitting a string into lines Pin
Le centriste3-Jan-03 4:58
Le centriste3-Jan-03 4:58 
GeneralRe: Splitting a string into lines Pin
Paul Riley3-Jan-03 5:04
Paul Riley3-Jan-03 5:04 
GeneralRe: Splitting a string into lines Pin
Le centriste3-Jan-03 5:26
Le centriste3-Jan-03 5:26 
QuestionRenderContext? Pin
Dave Kerr3-Jan-03 4:37
Dave Kerr3-Jan-03 4:37 
QuestionHow to get the short (DOS) version of a long filename? Pin
Matt Philmon3-Jan-03 3:15
Matt Philmon3-Jan-03 3:15 
AnswerRe: How to get the short (DOS) version of a long filename? Pin
Richard Deeming3-Jan-03 3:38
mveRichard Deeming3-Jan-03 3:38 
GeneralRe: How to get the short (DOS) version of a long filename? Pin
Matt Philmon3-Jan-03 4:47
Matt Philmon3-Jan-03 4:47 
GeneralRe: How to get the short (DOS) version of a long filename? Pin
Ray Cassick3-Jan-03 5:40
Ray Cassick3-Jan-03 5:40 
GeneralRe: How to get the short (DOS) version of a long filename? Pin
Nick Parker3-Jan-03 6:40
protectorNick Parker3-Jan-03 6:40 

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.