﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Brian Knight / Article Discussions / Article Discussions by Author  / Executing a Package from Visual Basic / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 18:20:25 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>I have .NET 2008, but not sure about the Client Components. How can I confirm installation/install that?</description><pubDate>Fri, 09 Jan 2009 16:19:53 GMT</pubDate><dc:creator>jbg1978</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>My first thought would be - what version of VB?  in 2005 and 2008, MS got picky as to what feature you could get to depending on the version.  I don't think you can get to it unless you have the SQL client components installed AND you have VB.NET pro or better.</description><pubDate>Fri, 09 Jan 2009 15:16:09 GMT</pubDate><dc:creator>Matt Miller (#4)</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>Anyone have any thoughts as to why the Microsoft DTS reference wouldn't be available in VB?Thanks</description><pubDate>Fri, 09 Jan 2009 15:14:22 GMT</pubDate><dc:creator>jbg1978</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>&lt;P&gt;This is a good example of calling a 2000 DTS package.&lt;/P&gt;&lt;P&gt;What is the logical equivalent for a 2005 Integration Services package?  Since they aren't necessarily stored on the server, is there a trick?&lt;/P&gt;</description><pubDate>Mon, 21 Aug 2006 08:38:00 GMT</pubDate><dc:creator>Alan MacNeill-274841</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>&lt;P&gt;Create your DTS package and save it as VB script, next open it in VS2003 or VS2005 and allow VS to convert it. After that you will have all you need to run package from .Net language. You will have some error to fix because the conversion is not fully valid but they are very easy to fix. You can use this created code to not only run package from your application but you can also create it from your application.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Mon, 21 Aug 2006 05:27:00 GMT</pubDate><dc:creator>janusz pazgier</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>This is just a general question. This example may work if you are using VB6 but what about us that use c# and the .NET 2.0 framework? If there is a way to execute an SQL 2000 DTS Package in .NET 2.0 I have yet to figure it out.&lt;img src='images/emotions/sad.gif' height='20' width='20' border='0' title='Sad' align='absmiddle'&gt;</description><pubDate>Fri, 18 Aug 2006 09:24:00 GMT</pubDate><dc:creator>bruce spinner-349795</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>&lt;P&gt;If your process is long time running process maybe you can send email to client when it is done. DTS package has this possibility or you can use SQL command inside DTS package to send e-mail from SQL server&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Janusz&lt;/P&gt;</description><pubDate>Fri, 18 Aug 2006 07:29:00 GMT</pubDate><dc:creator>janusz pazgier</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>Hi Brian,Example is really great to get kick off with DTS package stuff.Can you explain further, [Global Input Paramerter in DTS] which we set ,,,,,, instead of passing it through VB application can i make it pass through SQL itself (lookup from another table) so tat i can use specified DTS package at schedule. instead of making an exe and running it as service.</description><pubDate>Sun, 23 Jan 2005 12:00:00 GMT</pubDate><dc:creator>Mohd Haneef</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;I have many long running dts packages and need a way to notify the client of how many rows have been read.  I have played with the On Progress event but my package just freezes up when I check this event.  &lt;/P&gt;&lt;P&gt;Another nice feature that I want to add is the ability to cancel a package once it starts.  &lt;/P&gt;&lt;P&gt;Any ideas.....&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description><pubDate>Mon, 07 Jun 2004 08:57:00 GMT</pubDate><dc:creator>Mark Wismar</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;Thanks for the great website.&lt;/P&gt;&lt;P&gt;I have a Vb program which needs to call a DTS to load some data into SQL server from a text file. I managed to execute the DTS, but I couldn't get any return from DTS, so don't know if my data is loaded correctly unless I check from SQL server. Could you please explain how to solve this problem? Thank you very much!&lt;/P&gt;&lt;P&gt;Tina from Singapore&lt;/P&gt;</description><pubDate>Mon, 26 Jan 2004 19:17:00 GMT</pubDate><dc:creator>tinawx</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>&lt;P&gt;Excellent !!!&lt;/P&gt;&lt;P&gt;Good job to describe in few lines&lt;/P&gt;&lt;P&gt;Can I use this variables as a parameter to my SQL server Query for downloading the data&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;AMIT&lt;/P&gt;</description><pubDate>Sat, 24 Jan 2004 02:18:00 GMT</pubDate><dc:creator>amitsanatshah</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>&lt;P&gt;good for start, but if I have more complex dts...may be I can create a job and after execute it from vb.exe with &lt;/P&gt;&lt;P&gt;"sp_start_job @job_name = 'My Job'"&lt;/P&gt;&lt;P&gt;using and ADO connection and execute it. &lt;/P&gt;</description><pubDate>Fri, 23 Jan 2004 06:08:00 GMT</pubDate><dc:creator>alexx</dc:creator></item><item><title>RE: Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>This article is a good start for my project..I am transforming data from a query to a .csv file and I need to programatically change the name of the results filename.  I feel that I can utilize the Global Variable function to do this...I need to control the name of the textfile via ASP. </description><pubDate>Fri, 18 Jul 2003 10:59:00 GMT</pubDate><dc:creator>rmills80</dc:creator></item><item><title>Executing a Package from Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic2301-31-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/bknight/executingpackagefromvisualbasic.asp&gt;http://www.sqlservercentral.com/columnists/bknight/executingpackagefromvisualbasic.asp&lt;/A&gt;</description><pubDate>Sun, 20 Jan 2002 00:00:00 GMT</pubDate><dc:creator>Brian Knight</dc:creator></item></channel></rss>