Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mabry FTP Control Problem
Message
From
25/01/2000 17:07:11
 
 
To
25/01/2000 11:30:18
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00322232
Message ID:
00322442
Views:
20
>thisform.oleftp.getfilenamelist()
>thisform.oleftp.disconnect
>*****************************************

Mabry's event model is all messed up. After an method is fired, the next line will go right away even without waiting for completion of the event. The event finishing (all of the methods you call) gets trapped in the Done even and you need a parameter to determine the method thats actually completeing. So what may happen, is before the GetFileNameList() is Done, you've disconnected. You'll have to put the Disconnect call in the Done event if the lastmethod was GetFileNameList.

Mabry has VFP samples on their website, check em out.
Previous
Reply
Map
View

Click here to load this message in the networking platform