Hi,
Open VB and select new 'ActiveX dll' to create a VB dll. You can link to other libraries in 2 ways:
1) goto menu project -> references and set a reference to another dll.
2) reference the dll directly by using declare statement. Example:
-----------------------------------------------------------
Private Declare Sub polyintp Lib "c:\c++\JInterPol\debug\JInterPol.dll" (ByRef XArrPtr As Any, ByRef YArrPtr As Any, ByVal n As Long, ByVal x As Single, ByRef y As Single, ByRef dy As Single)
-----------------------------------------------------------
When you deploy your project onto other pc, make sure that you get all relavent dll included in the installation. That can be done by using the package & deployment wizard to create dependency information for you VB dll (or you can do it by copying and regisrering you dlls by hand).
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'