Dear Bajoo
Thanks for your reply!! aspftp.ASPFTP is really class in VB and reuse in
VB.NET. May I ask how do I know that whether a component is explcitly exposed
as COM component. I have registered the aspftp.dll to component service
already.
If the problem comes from createObject, then does it means using
Dim Obj As New aspftp.ASPFTP
do not have any problem?
Many Thanks!!

"Bajoo" wrote:
> Dear Tom,
> CreateObject() creates and returns a reference of a
> COM object. CreateObject can't be used for creating instances of
> classes in VB unless those classes are explicitly exposed as COM
> components. Make sure that "aspftp.ASPFTP" is explicitly exposed as COM
> component.
>
> Regards,
> Naveed Ahmad Bajwa
> Kalsoft Pvt Ltd
>
>