Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing application s form within foxpro
Message
De
15/08/1999 12:01:06
 
 
À
15/08/1999 11:26:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00253859
Message ID:
00253861
Vues:
22
>Hi I have a small program which closes Windows explorer,but i keep getting the error
>
>"Too many arguments", when the function is called.
>
>here is the code
>
>wm_destroy has been defined before hand
>
>lnExplorerHand=THISFORM.findwindowinscreen("Exploring")
>IF lnExplorerHand !=0
>SendMessage(lnExplorerHand ,WM_DESTROY,0,0)
>ENDIF
>

Do you get the message referencing the method, or with SendMessage()?

>Any ideas would be a great help
>
>Regards Steven Bowskill
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