ActiveX has been dead for quite a long time now, and VB6 has been dead for over 20 years.
If this is to support/maintain an old project, that code you've got in VB6 should have been rewritten in VB.NET or C# a long time ago.
If this is new development work, you've got no excuse using VB6. Get
Visual Studio Community Edition[
^]. It's free.