Including a DLL file in VB2005

Hi,

I am trying to add a reference to third party DLL file that has worked OK in VB6 but I am getting an error message.

The error message is check it is accessible, a valid assembly or Com comp[onent.

How do I know whether it is valid ? Presumably as it function in VB6 and it is a DLL it should function in VS.

Can anyone help me if I send the DLL to them ?

Thanks

[402 byte] By [AdrianAslett] at [2007-12-28]
# 2

If its a valid COM component then it will need registering using Regsvr32 or using the installer package if its a Commercial 3rd party component.

Once it has been installed then adding a reference in a VB 2005 application should be as simple as

My Project -> References -> Add Reference >- COM Tab -> Browse and point to the dll file.

This should work just fine for COM components.

VB 2005 works just fine with COM components.

spotty at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...