dbTalk Databases Forums  

Delphi's TApplication

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Delphi's TApplication in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
J O Holloway
 
Posts: n/a

Default Delphi's TApplication - 08-17-2003 , 01:34 PM






I'm using Delphi to programmatically control/configure DTS packages, and
I've noticed that in the unit where I'm using the DTS_TLB package, I can't
seem to call on any of the TApplication stuff. For example, I can't do a
messagebox nor an application.ProcessMessages.

If I create another form, and don't have the DTS_TLB in that unit's uses
clause, then everything is fine.

There is an Application in the DTS_TLB, so that's probably what's hosing
this up for me, but what I'm hoping for is a way around this without having
to create another form just for TApplication stuff.

Any suggestions?

TIA



Reply With Quote
  #2  
Old   
J O Holloway
 
Posts: n/a

Default Re: Delphi's TApplication - 08-18-2003 , 11:06 AM






From another news server I got these answers:

Yes, just put DTS_TLB at the start of your Uses list, and Forms
immediately after it.

You can also use Forms.Application - qualifying the unit will locate the
right variable.

Both of those work just fine.



Reply With Quote
  #3  
Old   
nbarn
 
Posts: n/a

Default Re: Delphi's TApplication - 09-15-2003 , 10:44 PM




Hi -



Any idea where I can find out more about using DTS and Delphi?
Basically, I'd like to Import and Export to DBF format files from SQL
2000.



Thanks


--
Posted via http://dbforums.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.