In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Hide process window

Xailer professional forum in English
Responder
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Hide process window

Mensaje por Timm »

Hi!
Is it possible to run an application (for example Notepad.exe) in a process
without showing the window of the application?
Best regards, Timm.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9250
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Hide process window

Mensaje por ignacio »

Timm escribió el mar, 24 mayo 2011 08:22Hi!
Is it possible to run an application (for example Notepad.exe) in a process
without showing the window of the application?
Best regards, Timm.
Take a look at the parameters of the Execute function.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Hide process window

Mensaje por Timm »

Ignacio,
it seems that the SW_HIDE mode of Execute() does not work with all
application.
I want to call DOSBox.exe (www.dosbox.com) in order to execute a 16-Bit
application in a 64-Bit Window 7 environment:
Execute( ".OptiRundosbox.exe .OptiRun.exe -noconsole -userconf -exit",
".OptiRun", .t., SW_HIDE )
Every time I call that function the DOSBox window is shown.
Best regards, Timm.
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> schrieb im
Newsbeitrag news:4ddcc0f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Timm escribió el mar, 24 mayo 2011 08:22
>> Hi!
>>
>> Is it possible to run an application (for example
>> Notepad.exe) in a process without showing the window of the application?
>>
>> Best regards, Timm.
>
>
> Take a look at the parameters of the Execute function.
> Regards,
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9250
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Hide process window

Mensaje por ignacio »

Timm escribió el vie, 27 mayo 2011 09:03Ignacio,
it seems that the SW_HIDE mode of Execute() does not work with all
application.

I'm afraid is not our fault, sorry. We are just calling Windows standard API functions. BTW, I suggest you try to create a link to that application and change its configuration so is executed minimized. It may work.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder