问题
I have downloaded the VS Basic Power Packs from the link here https://msdn.microsoft.com/en-us/library/cc488277.aspx but I have no idea why it does not appear in my project toolbox. I have also added the project reference for both the VB Power Packs and VB Power Packs Design to my project and refreshes the toolbox but it does not show at all.
Here is some pictures of it. Btw, I am using VS 2015 PRO. What did I missed out?
回答1:
@Plutonix has the correct answer in the comments. I just thought I would add and illustrate the answer.
(NOTE: as mentioned by @Student in the question, you'll need to download the power packs because they are no longer included Visual Studio 2015. You can do so at this >> link << and then continue with the rest below.)
To use the power packs, technically you don't need to add the references, all you need to do is add the power packs to the toolbox.
To do this, you right click in the toolbox and select "Choose Items"
Then the a window pops up. You can use the filter on the bottom, type "power" and then check the shape items you want to add.
Again, you should not need to add a reference, just include the power pack items, and that should do the trick. =)
来源:https://stackoverflow.com/questions/34322344/vb-net-visual-basic-power-packs-not-working-on-vs2015