Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

806 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