Kilitli toolbox missing added items

  • 13 Ağustos 2012 Pazartesi 13:42
     
     

    I use VB 2010 Express (SP1) on Win7 x64 desktop.

    I have a project started in VB2002 and gradually progressed to the above.  It has 3 Custom Contols I have developed myself and some 6 or so other DLLs either purchased or found free on the Web.  I have recently come back to the programme to add a new module.

    I have noticed that after a recent reinstall of both Win7 and VB, I added those non MS items to the toolbox as usual but the are not there the next time I open VB.  I have tried deleting the 2 TBD files in my Users/..../Appdata/local/microsoft/vbexpress/10.0 directory but that did not work.  My AutoToolboxPopulate was already set to True.

    The only strange thing I can see is that in the project properties references the added controls that go missing are all correctly  shown but set to CopyLocal (I assume by default) as they in a different drive (E:\ but is a partition of the main drive C:\).  Any purchased software installed on the C:\ drive also goes missing.

    The only other thing I think that is different to the missing items is that I have installed VC# 2010 Express but it surely cannot be that.

    Anybody got any ideas why the items goes missing from the toolbox and only Microsoft items remain as it is irritating to add items to the toolbox especially when developing and adding controls. 

    regards

    Colin Reid

Tüm Yanıtlar

  • 14 Ağustos 2012 Salı 06:08
    Moderatör
     
     Yanıt

    Hi Colin,

    Try this possible solution:

    1. Add the dll, reference it
    2.  Compile the project
    3. Save the solution and restart visual studio

    I hope this will be helpful.

    Best regards,


    Shanks Zen
    MSDN Community Support | Feedback to us

  • 14 Ağustos 2012 Salı 14:53
     
     

    That has worked and I hope for not just now.  If it fails again, it will come back.

    I did not understand the "reference it" as all the missing items were already in the project/properties/reference section before I added them again.

    regards

    Colin Reid