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.
