Monday, August 13, 2012 1:42 PM
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.
Tuesday, August 14, 2012 6:08 AMModerator
Try this possible solution:
- Add the dll, reference it
- Compile the project
- Save the solution and restart visual studio
I hope this will be helpful.
MSDN Community Support | Feedback to us
- Marked As Answer by Shanks ZenMicrosoft Contingent Staff, Moderator Friday, August 24, 2012 7:54 AM
Tuesday, August 14, 2012 2:53 PM
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.