Click here to Skip to main content
15,885,435 members
Home / Discussions / C#
   

C#

 
AnswerRe: Service to show form Pin
paas1-Aug-08 4:43
paas1-Aug-08 4:43 
AnswerRe: Service to show form Pin
vikas amin1-Aug-08 4:53
vikas amin1-Aug-08 4:53 
QuestionMessage Removed Pin
1-Aug-08 3:50
tkrn1-Aug-08 3:50 
AnswerRe: Dataset Designer using it programmatically? Pin
nelsonpaixao1-Aug-08 14:06
nelsonpaixao1-Aug-08 14:06 
QuestionTemplates Pin
Dirso1-Aug-08 2:45
Dirso1-Aug-08 2:45 
AnswerRe: Templates Pin
J4amieC1-Aug-08 2:48
J4amieC1-Aug-08 2:48 
QuestionProgrammatically Added SSIS Package Pin
Jammer1-Aug-08 1:29
Jammer1-Aug-08 1:29 
AnswerRe: Programmatically Added SSIS Package Pin
Jammer1-Aug-08 6:12
Jammer1-Aug-08 6:12 
Just thought I'd answer this since I've fingured it out now.

I ended up adding a ExecuteProcess task instead.

1. Add a reference to Microsoft.SqlServer.ExecProcTask

2. Add in code:

MyTask2 = package.Executables.Add("STOCK:ExecuteProcessTask");
TaskHost th = MyTask2 as TaskHost;

th.Properties["Description"].SetValue(th, "<PackageName>");
th.Properties["Executable"].SetValue(th,"DTEXEC.exe");
th.Properties["Arguments"].SetValue(th, "<Your Arguments>");

PrecedenceConstraint pcFileTasks = package.PrecedenceConstraints.Add((Executable)MyTask1, (Executable)MyTask2);
pcFileTasks.Value = DTSExecResult.Success;


Jammer

Going where everyone here has gone before! Smile | :)
My Blog | Article(s)

QuestionSharePoint Problem from client pc Pin
manju#1231-Aug-08 1:04
manju#1231-Aug-08 1:04 
QuestionGet the code of an Stored procedure Pin
anderslundsgard1-Aug-08 0:42
anderslundsgard1-Aug-08 0:42 
AnswerRe: Get the code of an Stored procedure Pin
Rob Philpott1-Aug-08 0:45
Rob Philpott1-Aug-08 0:45 
GeneralRe: Get the code of an Stored procedure Pin
Paul Conrad1-Aug-08 5:39
professionalPaul Conrad1-Aug-08 5:39 
AnswerRe: Get the code of an Stored procedure Pin
Anurag Gandhi1-Aug-08 1:00
professionalAnurag Gandhi1-Aug-08 1:00 
Questionwindows servioce - timer Pin
arkiboys1-Aug-08 0:36
arkiboys1-Aug-08 0:36 
AnswerRe: windows servioce - timer Pin
stancrm1-Aug-08 0:47
stancrm1-Aug-08 0:47 
GeneralRe: windows servioce - timer Pin
arkiboys1-Aug-08 0:49
arkiboys1-Aug-08 0:49 
AnswerRe: windows servioce - timer Pin
paas1-Aug-08 1:05
paas1-Aug-08 1:05 
GeneralRe: windows servioce - timer Pin
arkiboys1-Aug-08 2:58
arkiboys1-Aug-08 2:58 
GeneralLine numbers differ in Debug and Release. Pin
Brady Kelly1-Aug-08 0:26
Brady Kelly1-Aug-08 0:26 
GeneralRe: Line numbers differ in Debug and Release. Pin
Rob Philpott1-Aug-08 0:43
Rob Philpott1-Aug-08 0:43 
GeneralRe: Line numbers differ in Debug and Release. Pin
leppie1-Aug-08 1:49
leppie1-Aug-08 1:49 
QuestionHow to connect a DTO to my table Pin
Exelioindia1-Aug-08 0:12
Exelioindia1-Aug-08 0:12 
AnswerRe: How to connect a DTO to my table Pin
leppie1-Aug-08 0:31
leppie1-Aug-08 0:31 
Questionexcel problem Pin
Mogaambo31-Jul-08 23:57
Mogaambo31-Jul-08 23:57 
AnswerRe: excel problem Pin
Paul Conrad2-Aug-08 10:31
professionalPaul Conrad2-Aug-08 10:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.