Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Use FTP without a form
User2

From: newcastle, United Kingdom
Posts: 19
Member Since: 05/24/02
posted July 19, 2002 6:49 AM

Is it possible to use the FTP tool without having to have a component on a form? e.g. Using the Dart object in subMain with no forms in the project
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted July 19, 2002 10:03 AM

Yes, I assume you're using VB6. Go to project/references and check the Dart FTP control. Then in your code instantiate the object...

Public WithEvents ftp1 As DartFtp.Ftp

Private Sub Form_Load()

  Set ftp1 = New DartFtp.Ftp

End Sub

You can then use ftp1 as you would the component. Make sure you remove the component before you add the reference.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX