[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

Re: .NET UserControl in VB6?

Shel Blauman [MSFT]

8/14/2003 4:15:00 PM

Adding in the VB discussion group. May be better able to find an answer
there.

Shel

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cp...


"Paul Joes" <paulj@advatech.co.uk> wrote in message
news:0fb701c3627d$80ac10a0$a501280a@phx.gbl...
> We're starting to look at Visual Studio.NET.
>
> In order to smooth the learning curve, we were hoping to
> create a project in VB.NET that creates the equivalent of
> the old VB6 OCX, the intention being that we call the new
> control from our existing VB6 projects to move our legacy
> code forward whilst giving us time on .NET.
>
> Although I've found plenty of articles about wrapping .NET
> DLLs to make them COM-friendly, I've yet to find anything
> that would let us do the same thing to allow us to add a
> visual control to a VB6 form.
>
> Does anybody know of a way forward, or should I give up
> now?
>
> Thanks for your time


1 Answer

Herfried K. Wagner

8/14/2003 4:36:00 PM

0

Hello,

"Shel Blauman [MSFT]" <sheldonb@online.microsoft.com> schrieb:
> Adding in the VB discussion group. May be better able to
> find an answer there.
[...]
> > In order to smooth the learning curve, we were hoping to
> > create a project in VB.NET that creates the equivalent of
> > the old VB6 OCX, the intention being that we call the new
> > control from our existing VB6 projects to move our legacy
> > code forward whilst giving us time on .NET.

*AFAIK* it''s impossible to create an *ActiveX*-control which can be used
with VB6 in VB .NET.

HTH,
Herfried K. Wagner
--
MVP &#183; VB Classic, VB .NET
http://www.mvps....