Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: Executing a Package from Visual Basic

    Hi Brian,

    Thanks for the great website.

    I have a Vb program which needs to call a DTS to load some data into SQL server from a text file. I managed to...

  • RE: calling DTS from VB program

    Hi crosspatch,

    Yes! I got it. Thank you very much.

    Tina

  • RE: calling DTS from VB program

    Hi crosspath,

    Thanks for the answer. here is my code:

    ------------------------------

    Set objPackage = New DTS.Package

    Set mobjPkgEvents = objPackage

    objPackage.FailOnError = True

    Set objStep = objPackage.Steps.New

    Set objTask = objPackage.Tasks.New("DTSExecutePackageTask")

    Set objExecpkg = objTask.CustomTask

    objPackage.LoadFromSQLServer "SQL2000servername", "userid", "password",...

Viewing 3 posts - 1 through 3 (of 3 total)