Hello everybody,
can anyone help me and tell me how can I run a SSIS package from vb6?
Hello everybody,
can anyone help me and tell me how can I run a SSIS package from vb6?
Dim dtsApp As Application
Dim package As IDTSPackage90
Set dtsApp = New Application
Set package = dtsApp.LoadPackage("c:\MyPackage.dtsx", True, Nothing)
package.Execute
You need to add a reference to Microsoft DTS Runtime 1.0. It should be located at C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTS.dll