strangelynormal1 - it would appear that ccarns is asking if it is possible to automate saving the DTS package as a Visual Basic file, not automate the execution of the package. I presume they want to run through many packages and export to VB so they can program a GUI in VB.
Ccarns - I don't believe this is easily possible in SQL Server 2000.
Go to this DBFORUMS article for more on your question, however:
http://dbforums.com/arch/2
Main Topics
Browse All Topics





by: strangelynormal1Posted on 2004-02-04 at 16:36:12ID: 10276687
You may want to schedule the DTS package. I'll assume that you are going through the wizard instead of the DTS area and that when you mention GUI, you mean the "Data Transformation Services Import/Export Wizard."
After you've chosen the data you want to transfer and to where you want to transfer it, you'll come to a window saying "Save, schedule, and replicate package." Here, you will want to "Save DTS Package."
If by "automatic," you mean on a regular scheduled basis, select "Schedule DTS package for later execution" and press the "..." button next to it. Schedule it appropriately.
If you just want to be able to press a button to run the same export at will, then select "Save DTS Package." Then you can execute it from the Data Transformation Services, Local Packages by right clicking on the DTS you just created and clicking "Execute Package."
If you are not using the "Data Transformation Services Import/Export Wizard," then go straight to Data Transformation Services, Local Packages and right click on the DTS in question. Choose "Schedule Package" and schedule appropriately.
If this doesn't answer your question, please clarify.
Thanks,
Helena