0

Can we use any C# or VB.NET controls or components in VB 6.0?
or
Is there any place where we can get free controls or components for VB 6.0?

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by abu taher
0

Maybe this http://msdn.microsoft.com/en-us/library/ms973802.aspx can be helpfull.

In many ways, I don't think it's possible to use some proper objects (like the FORM object or SPLIT object) from net directly in your VB6 application.

But, if you have non-graphical classes that you can use, see the link above on how to create classes and exposes it through COM components - the one that VB6 reads.

Of course, to use this class you created in .NET, the .NET environment NEED to be installed on the machine, cause it uses "managed code" and will not run without the .NET DLLs.


Good luck,
Sidnei

0

Is there any place where we can get free controls or components for VB 6.0?

You can use any search engine and type the right keyword for search it.

use any C# or VB.NET controls or components in VB 6.0

Assuming that this is a DLL written in C#, you can place a copy of the DLL in the bin directory of your VB application. You can then your DLL assembly by its name space by using the Imports statement along with Imports System,etc. It should now be available and should work like any other .NET control in VB.NET.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.