简体   繁体   中英

Why I can't load a user control to my toolbox in visual studio 2012 pro?

Im going to the toolbox and doing right click then choose items then im going to the COM Components tab then browse and my file name wich in this case is LineGraph.dll I see this file on my hard disk I also did properties on the file and I see that the type is .DLL

But when im trying to load/open it in the toobox im getting error: LineGraph.tlb could not be loaded. But the file is .dll where from this .tlb came ?

在此输入图像描述

Working my mistake I tried to load it as COM Component instead of .Net so when I browsed for the file it was looking for tlb . Now it's working.

Tool Box > Mouse Right Click Button > Choose Items > .Net Framework Components

Wait some seconds until it will finish to load all the items then click on Browse on the right bottom corner select the .dll file and click ok.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM