Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path \\ or \
Message
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
01050887
Message ID:
01050919
Views:
8
It's not.

>I am not sure it WSH
>I am using the expressions below:
>Is it WSH ?
>
>
>FUNCTION Shell
>LPARAMETER lcLink, lcAction, lcParms, lcDir
>lcAction = IIF(EMPTY(lcAction), "Open", lcAction)
>lcParms = IIF(EMPTY(lcParms), "", lcParms)
>lcDir=IIF(empty(lcDir),"",lcDir)
>DECLARE INTEGER ShellExecute ;
> IN SHELL32.dll ;
> INTEGER nWinHandle, ;
> STRING cOperation, ;
> STRING cFileName, ;
> STRING cParameters, ;
> STRING cDir, ;
> INTEGER nShowWindow
>
>DECLARE INTEGER FindWindow ;
> IN WIN32API ;
> STRING cNull,STRING cWinName
>
>RETURN ShellExecute(FindWindow(0, _SCREEN.caption), ;
> @lcAction, @lcLink, ;
> @lcParms, @lcDir, 1)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform