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: How to access Power TCP FTP events through class?
User34

Posts: 4
Member Since: 05/03/02
posted May 3, 2002 3:54 PM

I'm using the Dart Power TCP FTP package, and I'm trying to wrap a VBScript class around it.

Now that I've made the Dart.FTP object a private member of a class, however, my callback routines for the Error, Progress, and State events, defined as methods in the class, are not called.

What can I do to make the event callback functions, which are now methods of the class, accessible to the Dart.FTP object?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 3, 2002 5:25 PM


Hi,
I am not sure if that is even possible in VBScript.
In VB you would declare the control as follows:
Private Withevents Ftp1 As Ftp
But I'm sorry; I'm not familiar with any technique that would allow you to use events in a VBScript.
-ken

K M Drake
Dart Tech Support
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 3, 2002 5:37 PM


Hi,
To clarify my previous response, it is not just me, but we as a company, who are unaware of a way to use events in VBScript. 
Have you been able to do so with other products in a scripting environment?
Thanks,
-ken

K M Drake
Dart Tech Support
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX