dbTalk Databases Forums  

Visual Basic - Bulid DTS Packages on the Fly

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Visual Basic - Bulid DTS Packages on the Fly in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bj richard
 
Posts: n/a

Default Visual Basic - Bulid DTS Packages on the Fly - 02-25-2005 , 01:03 PM






Is it possible to have a VB application that allows a user to created a DTS
package from selection made on the VB form. The developer is creating
timesheet exports for different clients. There are many to create. The DTS
package includes connections to dattabases, excel spreadsheets,emailing the
client.

thanks

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Visual Basic - Bulid DTS Packages on the Fly - 02-25-2005 , 01:55 PM






In message <C6552B35-8D62-4CFC-80CA-0AC0A0BB440D (AT) microsoft (DOT) com>, bj
richard <bj (AT) richard (DOT) ?.microsoft.com.invalid> writes
Quote:
Is it possible to have a VB application that allows a user to created a DTS
package from selection made on the VB form. The developer is creating
timesheet exports for different clients. There are many to create. The DTS
package includes connections to dattabases, excel spreadsheets,emailing the
client.

thanks
Yes, you can build a package in memory and then execute it. DTS is just
a COM object model, so you can leverage this from VB. To get some sample
code, build a package in the designer then select Save As Visual Basic
from the package menu.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.