Windows Vista Beta | WinVistaBeta.com - Message | DTSX Package

December 03, 2008  
Subject: DTSX Package
Group: microsoft.public.vstudio.general
Date: 7/18/2008 12:55:05 PM
From: "Krzysztof via DotNetMonster.com" [Email Address Protection]

Good Afternoon,

I have tried this many ways, to no success.

I am trying to run a dtsx package, from a simple app. My latest error is
stating need an event.

here is what is have:

Dim oApp As DTSLib.Application
Dim oPkg As DTS.Package = oApp.LoadPackage("myFilePath", False,[here
is the problem])

oPkg.Execute()
oPkg.UnInitialize()
oPkg = Nothing

There are two thing that are confusing:

1. In many examples, i see that the variable oApp is of Type DTS.Application.
If i do that, it does not give an option to "load a package".

2. The error i am getting is: "Argument not specified for parameter pEvents".
it says it needs to be of type DTSLib.IDTSEvents90.

Hopefully this makes sense to someone!! Is there another method to run this
"dtsx" package?
It seems easier if you have a dts package, but dtsx is all that i get.

thanks for any info in advance, this has kept me up nights.

--
Message posted via http://www.dotnetmonster.com


Back