Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto open calendar in Date Time Picker
Message
From
25/06/2000 13:35:06
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00383797
Message ID:
00384432
Views:
40
>>Of course I'vd not gotten into the api yet. Mostly from fear of screwing up.
>
>Why? What's the worst that could happen, "Data Type Mismatch"? "Too few arguments"?

Do you really want to know? You can force Windows to shut down abruptly using SendMessage() if you really try, similar to using ExitWindowsEx() with the EWX_FORCE and EWX_REBOOT under Win9x (or WinNT and Win2K if you have the necessary token privileges set for the process). But you have to try to hurt yourself to accomplish this...

>Okay, maybe the application crashes, big deal. Carpe diem, I say! DECLARE that function and call it!

Simple caveat - make sure that you save the project containing the API code out to disk before doing anything really drastic. I've lost enough source code as a result of stupid programmer tricks that smoked...
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
Reply
Map
View

Click here to load this message in the networking platform