Does anyone have tried refrencing vb 6.0 dll from VS.Net 2010 Project?
We have our business layer in VB 6.0 and I want to create a seperate project in VS.Net 2010, which is refrencing vb开发者_StackOverflow社区 6.0 dll (refrencing business layer)
If that is possible please let me know how can i achieve that?
Thanks
I am assuming you have your VB6 business objects as COM object.
In VS.NET, use the Project | Add Reference menu option to bring up the Add Reference dialog. Click on the COM tab, which gives you a list of all the COM components registered currently on your system. Scroll down and select your dll from VB6.
If the .dll is not registered, use the Project | Add Reference menu option to bring up the Add Reference dialog. Click on the Browse tab, find/select your dll on the filesystem and click OK.
精彩评论