Hi Out There
I have tried to call a dll from a DTS ActiveX Script without any success. I have not been able to find an example on how to do it so this is my pure guess – and it is not good enough. Could anybody enlighten me please?
DATRAS
The error is: Class not defined: fitALK
' Visual Basic ActiveX Script
Function Main()
Dim con
Dim ALKdll
Dim test
set con = CreateObject("ADODB.Connection"
Con.Open = "Provider=SQLOLEDB.1;Integrated Security=SSPI; " _
& " Persist Security Info=False;Initial Catalog=DATRAS;Data Source=OWL"
Set ALKdll = New fitALK.clsfitALK
test = ALKdll.fitALK(con)
Main = DTSTaskExecResult_Success
End Function
I have tried to call a dll from a DTS ActiveX Script without any success. I have not been able to find an example on how to do it so this is my pure guess – and it is not good enough. Could anybody enlighten me please?
DATRAS
The error is: Class not defined: fitALK
' Visual Basic ActiveX Script
Function Main()
Dim con
Dim ALKdll
Dim test
set con = CreateObject("ADODB.Connection"
Con.Open = "Provider=SQLOLEDB.1;Integrated Security=SSPI; " _
& " Persist Security Info=False;Initial Catalog=DATRAS;Data Source=OWL"
Set ALKdll = New fitALK.clsfitALK
test = ALKdll.fitALK(con)
Main = DTSTaskExecResult_Success
End Function