Solved

how can i run a sql server DTS by clicking a button in my VB.NET application.

Posted on 2008-10-23
3
195 Views
Last Modified: 2012-05-05
I have a DTS that moves dBase data to my SQL 2005 Database.  This needs to be executed on command through my VB.NET application.

How can I run the DTS automatically or by clicking a button in my VB.NET application.

Microsoft help says I should reference their COM DTS namespaces and create a Standard EXE project, but I dont know what a Standard EXE project is.  

Does anyone have a solution?  
0
Comment
Question by:logoncom
3 Comments
 
LVL 9

Accepted Solution

by:
Sander Stad earned 500 total points
ID: 22786247
0
 
LVL 22

Expert Comment

by:PedroCGD
ID: 22786289
from your application you can call directly the SSIS Package or a SQL JOB that has inside a SSIS package.
See my blog there is post there about calling a ssis project from asp.net using VB.net code
Regards

www.pedrocgd.blogspot.com
0
 

Author Closing Comment

by:logoncom
ID: 31509212
The 2nd URL is what I used... got it to work with 6 lines of code !!

Thanks.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now