MikeD
2/27/2012 11:37:00 PM
"benita ron" <benita.ron@gmail.com> wrote in message
news:aee7cb8d-b9f6-4a06-bfc0-6aed47638e4d@k6g2000vbz.googlegroups.com...
> I have found a VB6 application that contains a form and a usercontrol,
> that work well.
>
> I want to import both the Usercontrol and the form to another
> application but get an error with the form ("should reference the
> UC...") although the UC has been imported
>
> It's the first time that I deal with UC and it seem that I don't
> understand the concept
>
Well, you don't really "import" anything. Just add each module to your
project. Be sure to add the UserControl first. If you still have problems,
post the EXACT and COMPLETE error that VB is giving you. It's possible that
the UserControl has references to something else (another module or perhaps
a library) that you must also add.
--
Mike