devxlogo

Executing an Existing DTS Package

Executing an Existing DTS Package

Question:
How can I execute an existing DTS package from Visual Basic?

Answer:
Get an object reference to the package. I do this in Visual FoxPro:

loxx=createobject('DTS.Package','CmdExample')

Then I ask for the package to execute:

loxx.execute()

Then I release it:

loxx.release()

devx-admin

Share the Post: