Because it is a COM component (DLL compiled with VB), you first need to add a reference to the DLL from your project (Project->References), declare an instance (dim x as new DllName.ClassName) to finally use it (x.SomeMethod).
>Hi All,
>
>I got class module and have been compiled into DLL through ActiveX DLL project, but I know how to declare it and call its function in my application project, is there any reference and sample code?
>
>Thanks
>ASTON
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com