i test to create a DLL using VB6 and tried to use the same in different VB6 Projects.
i used the following as a TEST.DLL in that function i pass a DATE value and get the Long format of date vale in the message box.
Dim DT1 As Date
Public Function Wek(DT1 As Date)
DT1 = Format(DT1, "dd.MMM.yyyy hh:mm:ss")
using that i created a TEST.DLL file and i registered that one. using regsvr32.
then i open a new project in VB6, in that how to declare the created TEST.DLL and how to call that function using that DLL.