Search found 512 matches: shellexecute

Return to advanced search

Re: How to include hbCurl?

... help. While I was looking for a solution yesterday to make cUrl common in my desktop program, I then tried a solution with the command prompt and shellExecute. That works well. What are the disadvantages of shellExec()? I have been using 7Zip in this way for years. On the whole, the path with ...
by Otto
Sun Mar 03, 2024 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2902

Re: winexec ó ShellExecute

hi,
when DblClick in Explorer on a *.BMP it will open *.BMP with associate App like Paint
Winexec() "just" call "special" EXE while ShellExecute() is use with associate File
by Jimmy
Thu Dec 14, 2023 4:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

Re: winexec ó ShellExecute

Verhoven wrote:Buenas tardes Antonio, vista tu respuesta me queda la duda de si la has redactado tu mismo o si es una respuesta de algún chatgpt.
Es solo una curiosidad.


Es obvio :-)

Lo hago a propósito para que nos acostumbremos a usar las nuevas herramientas
by Antonio Linares
Wed Dec 13, 2023 6:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

Re: winexec ó ShellExecute

... IF File( cExec )         WinExec( cExec )      ELSE         ShellExecute( 0, "open", cExec, cFile, , 1 )      ENDIF   ELSE      IF ( "www" ...
by karinha
Wed Dec 13, 2023 3:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

Re: winexec ó ShellExecute

Buenas tardes Antonio, vista tu respuesta me queda la duda de si la has redactado tu mismo o si es una respuesta de algún chatgpt.
Es solo una curiosidad.
by Verhoven
Wed Dec 13, 2023 2:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

Re: winexec ó ShellExecute

Ejemplo con WaitRunEx() y ShellExecuteEx() ??

Gracias.

Regards, saludos.
by karinha
Wed Dec 13, 2023 1:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

Re: winexec ó ShellExecute

ShellExecute() y ShellExecuteEx() son dos funciones que se pueden usar para realizar una operación en un archivo especificado, como abrirlo, editarlo, imprimirlo, etc. La diferencia entre ellas es que ShellExecuteEx() es una ...
by Antonio Linares
Wed Dec 13, 2023 12:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

Re: winexec ó ShellExecute

Antonio muchas gracias por la pronta respuesta.

Ahora surge otra duda, cual es la diferencia entre las dos funciones que sugieres?
Code: Select all  Expand view

ShellExecute() o ShellExecuteEx()
 
by leandro
Wed Dec 13, 2023 12:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

Re: winexec ó ShellExecute

ShellExecute() es más efectivo que WinExec() para iniciar aplicaciones en Windows. WinExec() es una función obsoleta que solo se proporciona por compatibilidad con Windows 16 bits. ShellExecute() permite especificar un verbo ...
by Antonio Linares
Wed Dec 13, 2023 11:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

winexec ó ShellExecute

... que se produzca en error, pero queremos saber cual es la mejor opción para hacerlo, leyendo un poco en el foro encontramos las funciones winexec y ShellExecute, pero queremos saber cual es la diferencia entre ambas funciones, y si se tiene alguna limitación al usarlas. Al inicio de la aplicación ...
by leandro
Wed Dec 13, 2023 11:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 929

Re: No borrar fichero

Karinha:

Es una buena alternativa, voy a trabajar sobre eso

Pensé que con abrir el PDF modal sería la solución solo que
no sé especificarle al ShellExecute que abra el PDF modal.

Saludos
by Armando
Fri Oct 20, 2023 7:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No borrar fichero (SOLUCIONADO)
Replies: 12
Views: 470

Re: No borrar fichero

... de que el usuario cierre la vista previa proceder a borrar el archivo PDF temporal. No me interesa conservarlo pues lo tengo en la tabla El ShellExecute intenta abrir el PDF temporal pero el DELETE ya se ejecutó y por lo tanto el ShellExecute ya no encuentra el archivo. Saludos MI estimado, ...
by Armando
Fri Oct 20, 2023 6:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No borrar fichero (SOLUCIONADO)
Replies: 12
Views: 470

No borrar fichero (SOLUCIONADO)

Amigos del foro: El siguiente código ShellExecute(0,"Open",cFile,,,1)DELETE File(cFile)  Me presenta el problema de que al intentar abrir el fichero éste ya no existe como si primero se eliminara (DELETE) y después ...
by Armando
Fri Oct 20, 2023 3:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: No borrar fichero (SOLUCIONADO)
Replies: 12
Views: 470

Re: enviar mensajes a whatsapp, ¿posible solucion?

... hacerlo directamente desde FWH sin necesidad de crear una hoja de cálculo ni tener que usar VBA, etc Simplemente usa esto desde FWH en un bucle: ShellExecute( 0, "open", StrTran( "whatsapp://send?phone=" + cTelefono + "&text=" + cMensaje ), " ", "%20" ...
by Antonio Linares
Thu Oct 12, 2023 11:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar mensajes a whatsapp, ¿posible solucion?
Replies: 55
Views: 4411

Re: App Termination and Relaunch.

... can terminate your application and then immediately relaunch it. There are several ways to achieve this, but one common approach is to use the `ShellExecute` function or the `CreateProcess` function to start a new instance of your application from within your existing application. Here's a general ...
by Antonio Linares
Fri Oct 06, 2023 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: App Termination and Relaunch.
Replies: 5
Views: 391
Next

Return to advanced search

cron