System.Diagnostics.Process.Start(DTSCommand)
Where DTSCommand is a string exactly as you would type on the comannd
line to use dtsrun (see BOL for syntax of dtsrun commands).
[quoted text, click to view] "bill" <anonymous@discussions.microsoft.com> wrote in message news:<343d01c4a511$b83848e0$a301280a@phx.gbl>...
> Hi All,
>
> How can I execute the dtsrun command in the vb.net program?
>
Why would you want to?
If i was executing package from .Net I would use the object model. Greater
control IMHO
http://www.sqldev.net/dts/ExecutePackage.htm --
Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com [quoted text, click to view] "bill" <anonymous@discussions.microsoft.com> wrote in message
news:343d01c4a511$b83848e0$a301280a@phx.gbl...
> Hi All,
>
> How can I execute the dtsrun command in the vb.net program?
>
> Please advise.
>