Hola a todos,
Yo lo hago asÃ:
ShellExecute( AMPAArra[1][1][2][1][1]:hWnd, Nil, cPathCURL( .T. ) + "curl.exe", cCadena + cFitxerResposta, Nil, If( lShowCMD, 1, 0 ) )
Donde:
/* Tret del foro.
ShellExecute( nHandleWnd, nAccion, cFile, eluno, eldos, nTipoWnd)
define SW_HIDE 0
define SW_SHOWNORMAL 1
define SW_SHOWMINIMIZED 2
define SW_MAXIMIZE 3
define SW_SHOWMAXIMIZED 3
define SW_SHOWNOACTIVATE 4
define SW_SHOW 5
define SW_MINIMIZE 6
define SW_SHOWMINNOACTIVE 7
define SW_SHOWNA 8
define SW_RESTORE 9
define SW_SHOWDEFAULT 10
| 0 | Hides the window and passes activation to another window. |
| 1 | Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position (same as 9). |
| 2 | Activates a window and displays it as an icon. |
| 3 | Activates a window and displays it as a maximized window. |
| 4 | Displays a window in its most recent size and position. The window that is currently active remains active. |
| 5 | Activates a window and displays it in its current size and position. |
| 6 | Minimizes the specified window and activates the top-level window in the system's list. |
| 7 | Displays a window as an icon. The window that is currently active remains active. |
| 8 | Displays a window in its current state. The window that is currently active remains active. |
| 9 | Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position (same as 1). |
*/
Un Saludo
Carlos G.
FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home