![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Found this neat but of code in a previous posting which I've used within an Access ADP Project. I have SQL server installed and the code works fine. |
|
Any help much appreciated. Thanks Neil All credit to Darren Green for www.sqldts.com Private Sub SimpleExecutePackage() Dim oPKG As New DTS.Package oPKG.LoadFromSQLServer "MyServer", , , _ DTSSQLStgFlag_UseTrustedConnection, , , , "MyPackage" oPKG.Execute oPKG.UnInitialize Set oPKG = Nothing End Sub |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Allan Many thanks for that. I've tried registering dtspkg.dll using a command based on the following from the link you sent me. Regsvr32.exe "X:\Program Files\ApplicationDirectory\dtsffile.dll" When I run it though, I get the message LoadLibrary("dtspkg.dll") failed - The specified module could not be found. Any ideas? Thanks again Neil |
#5
| |||
| |||
|
|
Allan Many thanks for that. I've tried registering dtspkg.dll using a command based on the following from the link you sent me. Regsvr32.exe "X:\Program Files\ApplicationDirectory\dtsffile.dll" When I run it though, I get the message LoadLibrary("dtspkg.dll") failed - The specified module could not be found. Any ideas? Thanks again |
|
Neil |
![]() |
| Thread Tools | |
| Display Modes | |
| |