Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 10th, 2006, 06:10 AM
Registered User
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vishpala_kadam
Default Save DTS Package as Visual Basic File


I have writen a VB program to save all the DTS packages on the server in '.dat' format.
I want to do the same to save them in Visual Basic Format(.bas) .
Any pointers to how to acieve?

Old January 10th, 2006, 12:34 PM
Friend of Wrox
Join Date: Dec 2005
Posts: 146
Thanks: 0
Thanked 1 Time in 1 Post

There was a utility (vb 6 code) to save out packages in vb that was included on the SQL 7 CD. It works with 2000 but with several caveats.
1) The utility uses the DTS 1.0 model not the new DTS 2.0 model that SQL 2000 uses so you can save it out to VB but it won't necessarily work the same way -- and it won't match what you get if you do it by hand.
As far as I have been able to determine no one has publicly put forth a utility to do it, but I have not look for such a utility in almost 8 months.

David Lundell
Principal Consultant and Trainer

Similar Threads
Thread Thread Starter Forum Replies Last Post
Load mspaint.exe from Visual Basic and save it Andraw Pro VB 6 4 November 10th, 2008 06:01 PM
Error on Visual Basic 6 Install File with CR XI R2 jmss66 Crystal Reports 0 August 25th, 2008 10:41 AM
DTS Visual Basic ActiveX Script jemacc SQL Server DTS 4 November 28th, 2007 06:11 PM
Automation file not supported in visual basic sush_blr Beginning VB 6 2 December 28th, 2004 02:42 AM
Can i run A VB Script File From Visual Basic VB GURU VBScript 1 May 21st, 2004 01:42 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.