Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing application s form within foxpro
Message
From
15/08/1999 12:01:06
 
 
To
15/08/1999 11:26:07
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00253859
Message ID:
00253861
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform