Tommy - I can't help you with the specific question, but is the folder name spelled correctly? looks like it ought to be pharmacy...
>>>Hi Gang!
>>>
>>>Our company is now upgrading our clients to Windows 8.
>>>
>>>Does SHELLEXECUTE work in Windows 8 ?? One of our programmers is testing FoxPro code that uses Shellexecute, and it does not execute any more.
>>>
>>>Thanks!
>>
>>What is the exact code and the declaration? I believe ShellExecute works fine in Windows 8.
>
>Here is the code.....
>
>
>local lcCmd, lcParams, lcPathReg
>
>lcPathReg = “c:\pharamcy\”
>lcCmd = "REGSVR32"
>
>lcParams = " /s /u " + lcPathReg
>
>
>DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
> INTEGER lnHWnd, ;
> STRING lcAction, ;
> STRING lcTarget, ;
> STRING lcExeParams, ;
> STRING lcDefDir, ;
> INTEGER lnShowWindow
>
>lnResult = ShellExecute( 0, 'open', lcCmd, lcParams, "", 1 )
>
>
Phil Thomas
http://phillipdthomas.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....