Solved

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

Posted on 2008-10-23
3
196 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
A short film showing how OnPage and Connectwise integration works.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

947 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