开发者

Refrencing VB 6.0 Dll from VS.Net 2010 Project

开发者 https://www.devze.com 2023-02-02 11:48 出处:网络
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开发者_StackO

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消