I already had problems with some controls (and I don't remember which ones) that I cannot create instance like you are trying. I ended creating a dummy form (even in a DLL) that is containing the control I want.
>Hi,
>
>I like to use the Microsoft Communication control ActiveX in my
>application. But insteads of having it place on the form, I like to
>use it inside my class. But having problem initializing it. Please kindly
>advise me on this issue. Below are my code giving me problem.
>Please kindly advise me how to solve the problem.
>
>Class Declaration
>================
>Dim WithEvents objComm as MSCOMM
>
>
>Class Initialize <====== below the code is giving me error
>=========
>
>Set objComm = CreateObject("MSCOMMLIB.MSCOMM.1")
>
>Or
>
>Set objComm = New MSComm
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com