The following statement works in VBA (the excel sample): Dim oCF as CFRONT Set oCF = CREATEOBJECT(“cfront.cfrontctrl.1”) Declaring oCF as CFRONT is called early binding. This will increase execution speed and it enables the really nice auto-complete feature. My problem is that early binding of the CFRONT library will not work in VB6. I have to declare oCF as the generic Object type, otherwise the CREATEOBJECT will generate a type mismatch error. Is there anyone with similar experience or even a solution ?