Location in Public Declare ~Lib ~
I have some Publicly declared subs :
VB Code:
Private Declare Sub Calc_VPR Lib "C:\Program Files\Microsoft Visual Studio\VB98\TestDll\new.dll" (ByRef Avg As Short, ByVal dpdtAvg As Short, ByVal pulseAvg As Short, ByVal maxPct As Single, ByVal Length As Short, ByRef ArrInput As Single, ByRef ParOutput As Single, ByRef ArrOutput As Single, ByRef ArrPulse As Single, ByRef ArrDiff As Single)
I would like to make the library dynamic based upon where they load the program :
Dim dllplace As String = Application.StartupPath & "\new.dll"
and then stick it onto the sub but I tried, but need help.
Any thoughts???
:confused: :confused: :confused:
Cheers,
Bebandit