Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Desktop
Message
 
To
13/10/2005 08:11:35
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01058609
Message ID:
01058625
Views:
6
>Dear Experts
>
>How to go to Windows Desktop through VFP?
>What will be the source codes behind a command button to show Desktop?
>
>Please help

Other way (I like Cetin's more that that):
SET TEXTMERGE ON
SET TEXTMERGE TO Test.scf
    \[Shell]
    \Command=2
    \IconFile=explorer.exe,3
    \[Taskbar]
    \Command=ToggleDesktop
SET TEXTMERGE TO
SET TEXTMERGE OFF

DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,;
                                               STRING cOperation,;
                                               STRING cFileName,;
                                               STRING cParameters,;
                                               STRING cDirectory,;
                                               INTEGER nShowWindow
                                               
ShellExecute(0,"","Test.scf","","",0)
ERASE ("Test.scf")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform