Shell Asíncrono
Estoy ejecutando en mi aplicación un programita que convierte bmp en jpg... esto lo hago mediante la instrucción Shell... pues bien, hay ciertos bmp que tardan en convertirse en jpg, pero la ejecución de mi aplicación continúa... debido a que no espera la ejecución de ese programa convertidor...alguien sabe si hay alguna forma de "hacer esperar" a la aplicación VB que finalice la ejecución del programa convertidor????
Muchas gracias por adelantado...
Muchas gracias por adelantado...
Algunas formas:
[VBnet FAQ] Determining the End of a Shelled Application Using GetExitCodeProcess:
http://vbnet.mvps.org/index.html?code/faq/getexitcprocess.htm
[VBnet FAQ] Determining the End of a Shelled Application Using WaitForSingleObject:
http://vbnet.mvps.org/index.html?code/faq/waitforsingleobject2.htm
[VBnet FAQ] Determining the End of a Shelled Application Using GetModuleUsage:
http://vbnet.mvps.org/index.html?code/faq/getmoduleusage.htm
__
Un saludo.
[VBnet FAQ] Determining the End of a Shelled Application Using GetExitCodeProcess:
http://vbnet.mvps.org/index.html?code/faq/getexitcprocess.htm
[VBnet FAQ] Determining the End of a Shelled Application Using WaitForSingleObject:
http://vbnet.mvps.org/index.html?code/faq/waitforsingleobject2.htm
[VBnet FAQ] Determining the End of a Shelled Application Using GetModuleUsage:
http://vbnet.mvps.org/index.html?code/faq/getmoduleusage.htm
__
Un saludo.