Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding XceedFTP-Event
Message
From
24/11/2017 07:10:03
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01655812
Message ID:
01655813
Views:
44
BindEvent() supports native objects only;
for COM objects you need to use EventHandler() instead.

>Hi there,
>
>in a class I create an instance of the xceed ftp-control to transmit and receive files.
>As I am encountering problems receiving files I want to test a litte bit and
>tried to implement another method. Therefore I have to bind an event of the
>FTP-Control to receive a result. But binding the activeX.-event does not work.
>I do:
>
>
>this.oftp = createobject("xceedsoftware.xceedftp")
>...
>...
>BINDEVENT(this.oftp,"ReceivingMemoryFileData", this, "memreceive")
>this.oftp.receivememoryfile(lcRemotefile,0,0)
>
>
>ReceivingMemoryFileData is an event which I can also see in the object browser
>Memreceive is a proc within the class which shall check if data was received
>
>
>But bindevent raises an error "Property ReceivingMemoryFileData" not found.
>Can someone please tell me what is wrong with this.
>
>Thanls in advance
>
>Thomas
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform