loPackage = CREATEOBJECT('dts.package')For SQL2000, you would want to use:
loPackage = CREATEOBJECT('dts.package2')Also, as you may have already figured out, passing parameters is easy enough using GlobalVariables:
loPackage.GlobalVariables.Item('MyPassword').Value = 'bob'What I had a hard time figuring out was how to find out whether the package executed ok or not. I finally settled on having the package set a GlobalVariable when it successfully completed which I can then check after the package executes.