Re: Want add / remove Components in ToolBox
From: Thibaud Bouquely (TBouquely_at_NOSPAM.fr)
Date: 03/09/04
- Next message: harry_bosch: "RE: how to fix intellisense?"
- Previous message: Venu: "The designer could not be shown for this file because none of the classes within it can be designed."
- In reply to: Jose Marcenaro: "Re: Want add / remove Components in ToolBox"
- Next in thread: Jose Marcenaro: "Re: Want add / remove Components in ToolBox"
- Reply: Jose Marcenaro: "Re: Want add / remove Components in ToolBox"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Mar 2004 21:23:42 +0100
Thanks for your help, I just create my first AddIn ! and it work but I have
2 questions
1) I can Debug my addIn (after I Install It on my computer) but It 'is
strange because the path to generate Bin file (dll) is "Bin\debug" and my
addin is installed in "c:\program Files\MySociety\myAddIn1" !! >> It work
fine, VS.NET launch another VS.NET to Debug, but I don't understand how it
work ? How the second instance of VS.NET know the good DLL is in
"c:\...\Bin\debug" path ?????
2) I do this in "Exec" procedure :
...
MessageBox.Show("Nombre dans " + tbt.Name + " : " +
tbt.ToolBoxItems.Count.ToString());
// Essai d'ajout d'une chaine : It Work Fine !!!!
tbt.ToolBoxItems.Add("toto","coucou",EnvDTE.vsToolBoxItemFormat.vsToolBoxIte
mFormatText);
// Essai d'ajout d'un composant maison : Nothing appear !!!!
tbt.ToolBoxItems.Add("toto2",
@"c:\temp\myControls.Dll",EnvDTE.vsToolBoxItemFormat.vsToolBoxItemFormatDotN
ETComponent);
...
toto appear ! (ok) par no controls appear of MyControls.dll !!
If I Add MyControls.dll manually in VS.NET >> my controls appear in ToolBox
!
Do you have an Idea ?
may be I forgot something somewhere !
- Next message: harry_bosch: "RE: how to fix intellisense?"
- Previous message: Venu: "The designer could not be shown for this file because none of the classes within it can be designed."
- In reply to: Jose Marcenaro: "Re: Want add / remove Components in ToolBox"
- Next in thread: Jose Marcenaro: "Re: Want add / remove Components in ToolBox"
- Reply: Jose Marcenaro: "Re: Want add / remove Components in ToolBox"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|