Egghead
7/9/2007 4:41:00 PM
I believe all non .Net components do not work with the ClickOnce and Smart
Client deployments because these components are not redistributable. I have
the same problem before. My solution is this:
(1) have another installation set (.msi) for all non .Net components at the
web server.
(2) have the .Net app checks the components
(3) if not there, d/l the msi and run the msi, ask the user restart the app.
I do not have the problem with the .net wrapper class at all.
--
cheers,
RL
"Willy Van den Driessche" <alfredothepistolero@hotmail.com> wrote in message
news:3AE7483E-B2A7-4E4E-B3CA-31F4259BE0AD@microsoft.com...
> Hello,
>
> I found a post in January 2006 by "Scott" titled "Reg-free COM problem".
>
> He describes that RegFree COM doesn't work for a component written in VB6
> that uses publicNotCreateable classes.
> I have exactly the same problem :
>
> I have created a VB6 testproject with a global multiuse class (GMU), a
> multiuse and a publicnotcreateable (PNC). From the moment I add a member
> to
> the PNC class, I get this error in the .NET demo project that uses the
> demo
> VB6 component :
>
> Error Problem isolating COM reference 'TestRegFree': Registry key
> 'HKEY_CLASSES_ROOT\CLSID\{22e5a51d-4f83-47e0-9b2b-54ccdc269b9b}\InProcServer
> 32' is missing value '(Default)'. TestRegFreeCOM
>
> ( Bot other classes don't provoke any problems)
>
> Besides changing the class to MultiUse, is there any known solution for
> solving this problem ? Can I generate the RegFree COM manifest myself (-
> and How do I integrate it in visual studio 2005 ?)
>
> (We are migrating a huge VB6 ( +- 800 KLOC) application to .NET. The
> existing VB6 code will slowly move to .NET but rewriting all of it right
> now is not an option)
> Thanks.
> Van den Driessche Willy.
>
> (Note : this is a re-post since the previous one (from may 2007) has no
> answers)