General information
Category:
ActiveX controls in VFP
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only