hi all
im having a little snafu since im working with the DTS
imported type library, since seems i have to work for
quite a while with this i better get started, but so
far i havent been able to execute a dts package, since
i just pirated the examples from VB maybe i am doing
sth wrong
procedure TForm1.Button4Click(Sender: TObject);
var
objDTS: TPackage;
ostofhost: OleVariant;
begin
cca := 0;
objDTS := TPackage.Create(Self);
objDTS.LoadFromStorageFile('C:\DTSDemo.dts', '', '',
'', '', ostofhost);
objDTS.Execute;
end;
got the following message:
'Provider generated code execution exception:
EXCEPTION_ACCESS_VIOLATION'
i also had a few other samples that after trying to
configure users and passwords and connections et. al.
ultimately had the same untimely ending :(
if anyone knows any tips of helpful articles will be
greatly appreciated. i'll be trying to in the
meantime...
thanks
moises
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/