Home All Groups Group Topic Archive Search About

How to use VB.Net user controls with in VB.6

Author
6 Apr 2006 6:03 AM
shamirza
How to use VB.Net user controls with in VB.6
is it posible???????????????
www.shamirza.cjb.net

Author
6 Apr 2006 6:26 AM
Cor Ligthert [MVP]
Shamirza,
> How to use VB.Net user controls with in VB.6
> is it posible???????????????

No

It not even possible to use new Net 2003 controls in VB Net 2002
and new VBNet 2005 controls in VBNet 2003

I hope this helps,

Cor
Author
6 Apr 2006 12:57 PM
Sam
Hello Shamirza,
I am not sure if the VB.NET controls can be used in VB6.

But you could use .NET framework classes in VB6. Read the article
below:

http://support.microsoft.com/default.aspx?scid=kb;en-us;817248
Author
17 Apr 2006 10:39 AM
shamirza
Ya U r right , thankx Mr. Sam
Author
7 Apr 2006 6:51 AM
shamirza
Thanx Cor Ligthert .... this make me  confident that, we should not go
back hear ....
but i think if it is a control Library(dll) of dotnet it is posible to
access in vb...
and i have sucessfuly done this....
Author
8 Apr 2006 10:48 PM
Herfried K. Wagner [MVP]
"shamirza" <shami***@gmail.com> schrieb:
> but i think if it is a control Library(dll) of dotnet it is posible to
> access in vb...
> and i have sucessfuly done this....

Yes, classes marked as 'ComClass'/'ComVisible' can be used in VB6, but .NET
Windows Forms controls cannot be hosted in an ActiveX environment such as
those of VB6.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
6 Apr 2006 2:00 PM
rmacias
It may sound like a silly question, but if you need to use VB.NET controls,
why not just use VB.NET??

Show quoteHide quote
"shamirza" wrote:

> How to use VB.Net user controls with in VB.6
> is it posible???????????????
> www.shamirza.cjb.net
>
>