Re: Want add / remove Components in ToolBox

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Thibaud Bouquely (TBouquely_at_NOSPAM.fr)
Date: 03/09/04


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 !



Relevant Pages

  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)
  • Re: running a service/driver/application upon startup
    ... Would it be possible for you to drop a debug services.exe and debug nk.exe ... > I ran dumpbin/exports on the finger dll and saw the required function ... >> theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)
  • Re: technical/OS problem (windows xp?)
    ... Build a debug version of the ISAPI DLL. ... Create a virtual root with execute permissions in the IIS Management ... Add your ISAPI extension or filter DLL to the list. ...
    (alt.marketing.online.ebay)
  • Pthread debug DLL uses non-debug VC runtime; include its manifest to resolve this
    ... where I could not start up a debug version of a console app. ... the pthreads DLL, from other comments in the thread. ... Dependency Walker revealed that the Pthreads debug ... It turns out that you need not only the .dll files, but the .manifest files as well. ...
    (microsoft.public.vsnet.debugging)
  • Re: running a service/driver/application upon startup
    ... debug version of the image is too large to load onto the device. ... I ran dumpbin/exports on the finger dll and saw the required function names: ... > theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)