Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Events in an Automation Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00331202
Message ID:
00331211
Vues:
14
>I need to tell when an Event has fired in an Automation Control. I'm working with the Eudora Automation Control which has several Events one of which is OnCheckMailComplete().
>
>I have a sample Visual Basic app provided by Eudora but don't know how to translate what I see into VFP. The VB app shows in (General)
>Public WithEvents app As EuApplication
>
>And then in app
>Private Sub app_OnCheckMailComplete()
> StatusBar1.Panels.Item(1).Text = "Check mail complete"
>End Sub
>
>If I issue oEudora.OnCheckMailComplete() in VFP I get the error "Name unknown". oEudora has a Method CheckMail and I want to know when it is finished (when the OnCheckMailCompleted() fires) before moving on to other code. How can I transport the above VB code to VFP?
>

You may need to use VFPCOM to allow you to wrap events with VFP code.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform